[Novalug] [Off-list] Re: USB as non-root

James Ewing Cottrell 3rd JECottrell3@Comcast.NET
Mon Nov 30 01:49:05 EST 2009


Jon LaBadie wrote:

>> Bryan J Smith wrote:

> On Thu, Nov 26, 2009 at 11:30:13AM +0000, Bryan J Smith wrote:
>> Chmod 1777 is what is used on /tmp. ;)
>>
>> The "1" is the sticky bit and prevents anyone else than the owner
>> of files/dirs from writing/modifying them.
> 
> I think it only prevents renaming/deleting them.  Writing/modifying
> depends on the individual file's permissions.

Bingo. Remember, file deletion/renaming is an operation on the 
directory, not the file.

JIM



More information about the Novalug mailing list