|
-
Aug 29th, 2007, 07:45 PM
#1
Thread Starter
Fanatic Member
rmdir gives Warning
I'm on windows XP and rmdir gives me warning about permission denied for removing a directory but I created it using mkdir(dirname($fileName), 0777); Anything specific I'm missing? Thanks in advance.
-
Aug 29th, 2007, 09:19 PM
#2
Re: rmdir gives Warning
is there a file in the directory? it has to be empty for rmdir to work. And that includes no windows-generated hidden files such as thumbs.db
-
Aug 29th, 2007, 10:05 PM
#3
Thread Starter
Fanatic Member
-
Aug 29th, 2007, 10:17 PM
#4
Re: rmdir gives Warning
hmm. i don't know the flags 0777 sets, but did you perhaps set it as a system folder on accident?
-
Aug 30th, 2007, 12:15 AM
#5
Re: rmdir gives Warning
What user account is PHP running under?
Note that the manual specifies the mode parameter of mkdir is ignored under Windows.
-
Aug 30th, 2007, 01:44 AM
#6
Thread Starter
Fanatic Member
Re: rmdir gives Warning
Hey PG, I'm in Administrators Group. When I tried to port it on some Linux box here, it doesn't give an error. Even tried giving full control of the folders but still gives a warning and doesn't delete the directories. Any idea?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|