Click to See Complete Forum and Search --> : rmdir


Anon
04-29-2002, 02:36 AM
G'day

I am using apache php on windows 2k. I have set up may page so that it will create a dir with permissions set to either 0777 or 777.

The creation works fine. But then I want another page to delete this directory, but it can't. All I recieve is "Permission Denied". I can't work out how to set it up so that this page can delete the dir.

I have tried changing the permissions on the dir just before I delete it using chmod(777), but this fails to work either.

Note, the directory is empty so there shouldn't be any problems with trying to remove a dir with files in it.

Any ideas or help would be greatly appreciated.

Many Thanks

Chief Yeffgennie :-)

Anon
04-29-2002, 09:08 PM
Windows doesn't use permissions, hence do not use chmod()

greg252
05-03-2002, 05:10 PM
Is the directory empty.
Not too familiar with Win, but linux dir needs to be empty