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.

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
mokkanAuthor Commented:
if I understand correctly, any body can write to the directory?
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.
Permissions of 1777 means that anyone can write to the directory, but can only delete their own files/dirs.
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.