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

Re: right permission set for /tmp



Dave Mitchell wrote:
On Tue, Jul 03, 2007 at 04:35:39PM -0600, Karl Larsen wrote:
ll -d /tmp
drwxrwxrwt 19 root root 4096 2007-07-03 16:09 /tmp


I follow the owner has rwx and the group has rwx but the World has rwt. I'm not sure what t is but I will find out.

It's the sticky bit - means only the file owner can delete any files in the
directory - it's set using chmod 1777 /tmp

That is all I could learn with man chmod and it didn't define what a sticky bit is :-)

Karl


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