Re: PHP unlink Permission Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux