drwxrwxrwt permission question

I have a quick question regarding /tmp directory.  The permission says drwxrwxrwt, does it mean any body can read and write? The ower and group are root.

mokkanAsked:
Who is Participating?
 
Deepak KosarajuDevOps EngineerCommented:
It has stickybit set on /tmp directory, so files created by one user cannot be deleted by other user but can be accessed.
More on stickybit refer to
http://www.zzee.com/solutions/unix-permissions.shtml
0
 
mokkanAuthor Commented:
if I understand correctly, any body can write to the directory?
0
 
Deepak KosarajuDevOps EngineerCommented:
Yes! That's right they can write to the directory but they cannot remove the files/directories of other users instead they can access. The permissions of sub-directories are hired from parent directory which is /tmp.
0
 
TintinCommented:
Permissions of 1777 means that anyone can write to the directory, but can only delete their own files/dirs.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.