Forum Moderators: phranque
I have ran into a problem changing my permissions with CHMOD on my local server. I am working on Windowa XP Pro, Apache 2.0.49 and cuteftp pro 6.
I have changed permissions before without a problem on my window machines. I am not certain if I changed them without a problme on this particular machine.
Anyways, heres the problem:
When I ftp in and change the CHMOD (for expample from 644 to 755) it says the change was sucessful and does not show any errors, but if I chmod the same file again it returns shows as 644. Even if I log out and come back in, it shows as 644. This occurs with everyfile I have tried to modify.
The sucky thing is, I am not sure if it is a windows, apache or ftp problem.
-I am logged in as administrator. so as far as I know, I should have no problems writing to these files.
-I even checked the file attributes to see if they were marked read only, but nope, they are apparently open to modifiaction.
This problem is tough to track down on the web becasue there is so much info on chmod. But I have found other people with this problem, just no clear solution in the posts.
One recommedation was to use smartftp over cuteftp, but smart ftp does the same thing.
Another was to make a php script to change permissions, This worked once, but not the second time (when I installed an oscommerce package.) Anyways, I would like to use an ftp if possible =)
Thanks in advance for any ideas!
T
Here's a google groups on "XP+chmod+permissions"
Since the FTP standard contains the CHMOD command (because the folks made the draft were working on unix, so they built-it in), some ftp servers still uses it, but changing the permissions on a windows machine with a ftp client is just asking for trouble, mainly because most of the server applications are running with system privileges, which means that if you set a wrong permission, you can block the access to a file completely, no other processes could reach it anymore (like apache), second, because you can not be sure that what the ftp server will do with your chmod command.
What is the problem, why do you want to change file permissions at all?
Since the FTP standard contains the CHMOD command