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

Re: X login problems for users



Andrew Sackville-West wrote:

What is this tmp bit? thanks for the advice. have done, seems to work fine.

From http://oldfield.wattle.id.au/luv/permissions.html


   The sticky bit - /tmp directory

Normally (without 't') any user who has write permission to a directory can delete any files in the directory regardless of who owns it, even if they can't read or write to the file.

With 't' set, only the owner of a file can delete it.

This is used on /tmp

bash> ls -ld /tmp
drwxrwxrw|t|  8 root   root    4096 Nov  2 19:27 /tmp

Commands
|chmod +t directory| 	Set the sticky bit on a directory
|chmod -t directory| 	Remove the sticky bit from a directory




Reply to: