On Tue, 2009-01-13 at 15:46 +0000, ceo@xxxxxxxxx wrote: > 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. :-) > > > On *nix systems, I believe you only need write permissions to the directory in order to delete files. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php