In the /
directory, I use:
ls -alFd /tmp
to check the /tmp
directory permissions and I get drwxrwxrwt
.
I know rwxrwxrw
means user, group, other permissions are read, write and execute.
But I don't know the meaning of the d
and t.
of the drwxrwxrwt
, can someone explain it?
s
is shown in the "executable" position. There's alsoS
(capital), which means setuid / setgid but without the corresponding execute permission. Similarly there'sT
(capital), which means sticky without the corresponding execute permission. Then there'sp
, which means "named pipe". – Satō Katsura May 18 '17 at 09:28