rmdir and chmod help for Windows XP Home!
From: Daniel (daniel_at_dlpage.com)
Date: 10/11/03
- Next message: David Gillen: "Re: mysql"
- Previous message: TimGoogler: "Text / Dialogue Boxes on links"
- Next in thread: Steven Musumeche: "Re: rmdir and chmod help for Windows XP Home!"
- Reply: Steven Musumeche: "Re: rmdir and chmod help for Windows XP Home!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 11 Oct 2003 12:48:33 +0200
Hi,
From what I read from the PHP manual, chmod on a Windows platform
should have no effect, and that seems totally normal (unless someone on
sourceforge has a windows port of that!).
I create a directory on my Windows box, and set chmod 777 on it (that
should be full access for everyone if my memory serves me correctly),
but when I want to rmdir that directory, I get a permission denied
message (I can delete contents from that directory with no problems, and
I can create/delete subdirectories either by hand or by script with no
problems.
I tried creating a subdirectory with the same name and without the chmod
in a test script and everything went OK...
I then commented out the chmod line in my script, and now, directory
creation and delete works fine!
So, for PHP on windows (xp home?), chmod 777 makes the file undeletable
for another PHP script, but not for Windows explorer or the windows/dos
command line...?!?!
Anyone got an explanation for this? I'm intrigued!
Cheers,
Daniel
- Next message: David Gillen: "Re: mysql"
- Previous message: TimGoogler: "Text / Dialogue Boxes on links"
- Next in thread: Steven Musumeche: "Re: rmdir and chmod help for Windows XP Home!"
- Reply: Steven Musumeche: "Re: rmdir and chmod help for Windows XP Home!"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|