[SATLUG] Undelete-able files...

Charles Hogan cd_satl at futuretechsolutions.com
Sun Apr 6 17:50:34 CDT 2008


No write perms for anyone in the ./ dir.

John Pappas wrote:
> sites/default > ls -al
> total 36
> dr-xr-xr-x 3 u40829777 ftpusers 4096 Apr  5 22:19 .
> drwxr-xr-x 3 u40829777 ftpusers 4096 Apr  5 22:55 ..
> -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
> 
> sites/default > whoami
> u40829777
> 
> On Sun, Apr 6, 2008 at 5:29 PM, Charles Hogan <
> cd_satl at futuretechsolutions.com> wrote:
> 
>> 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
>>
>> --
>> _______________________________________________
>> SATLUG mailing list
>> SATLUG at satlug.org
>> http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
>> Powered by Rackspace (www.rackspace.com)
>>


More information about the SATLUG mailing list