[SATLUG] Undelete-able files...

Charles Hogan cd_satl at futuretechsolutions.com
Sun Apr 6 17:29:45 CDT 2008


John Pappas wrote:
> On Sun, Apr 6, 2008 at 1:11 AM, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:
> 
>> John Pappas wrote:
>>
>>> Hey All,
>>>
>>> I have run into an odd issue.  Is there a way a user could create
>>> files/directories that they then cannot delete?  Extended ACLs are not
>>> enabled (AFAICT) and user.group are correct for said user, and
>>> permissions
>>> are 777.
>>>
>> Check the immutable bit.
>>
> 
> /sites/default > lsattr -a
> ------------------ ./.
> ------------------ ./..
> ------------------ ./default.settings.php
> ------------------ ./files
> ------------------ ./settings.php
> 
> ?> ll
> total 28
> -rwxrwxrwx 1 u40829777 ftpusers 8956 Apr  5 22:17 default.settings.php
> drwxrwxrwx 2 u40829777 ftpusers 4096 Apr  5 21:50 files
> -rwxrwxrwx 1 u40829777 ftpusers 8958 Apr  5 22:19 settings.php
> 
> ?> whoami
> u40829777

What are the owner/permissions for the ./ directory that the files are 
in?  If the usr/group doesn't have write permissions, then there is your 
problem.

Charlie


More information about the SATLUG mailing list