Not only do you need to check the return value of chmod to see if it worked, 
but also, I *think*:



The file withing the directory can have entirely different permissions, and 
making the directory world writable won't help that, I don't think...



I could be wrong, and a 000 file in a 777 dir might be unlink-able.  You can 
test for yourself in a shell as fast as I can. :-)



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to