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

Re: Permission Questions




Is there something special with /tmp?

Do you have sticky bit on `/tmp`?

> For directories, when a directory's sticky bit is set, the filesystem treats the files in such directories in a special way so only the file's owner, the directory's owner, or root user can rename or delete the file.

https://en.wikipedia.org/wiki/Sticky_bit
 

kan@h370:~$ ls -ld /tmp
drwxrwxrwt 26 root root 32768 Aug 30 20:51 /tmp
ka@h370:~$


AFAIK 't' means yes, you have it.

 

Reply to: