Re: cannot unlink file that Apache and I have permissions to delete

From: Andy Hassall (andy_at_andyh.co.uk)
Date: 07/28/04


Date: Wed, 28 Jul 2004 18:57:04 +0100

On Wed, 28 Jul 2004 19:43:43 +0200, "Pjotr Wedersteers" <x33159@westerterp.com>
wrote:

>I don't know all that much about (linux?) file permissions, but my first
>thought was: is the file perhaps locked by another process/owner at the time
>of attempted deletion ?

 Typically this just results in the file disappearing from the visible
filesystem, but the file still staying allocated and accessible by the
process(es) that have it open until they all release the file, at which point
the inode gets cleared up and the space released.

--
Andy Hassall <andy@andyh.co.uk> / Space: disk usage analysis tool
http://www.andyh.co.uk         / http://www.andyhsoftware.co.uk/space