CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: General Discussions: General Questions:
550: Permission denied


Scott Harrison

Jul 2, 2000, 6:37 PM

Post #1 of 2 (8715 views)
550: Permission denied Can't Post

Hi guys,

I have been downloading many scripts and trying them out lately. Unfortunately I can't always get them installed all the way. My problem is that I used a script to create homepages for my visitors. What I ended up doing is making member directories in the wrong place. Now I can't get rid of them. When I attempt to delete the files I get 550: Permission denied. So I'd really like to get this stuff out, what do I do? Could another script be written that could delete them? Thanks for any help.

Scott Harrison


Jul 2, 2000, 11:06 PM

Post #2 of 2 (8715 views)
Re: 550: Permission denied [In reply to] Can't Post

Try This.

unlink </path/to/file/*>;

You can change the path to the bin with the pages you don't want and it will clear them all out. It won't delete the actual folder but only the contents.

If there mixed in with other files you want to keep use this instead,

unlink "filename.html";
unlink "filename2.html";

Be carefull with your paths and names because you don't want to delete some files you really need.



Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives