←back to thread

414 points henry_flower | 3 comments | | HN request time: 0.001s | source
1. JeffTickle ◴[] No.43113995[source]
Can anyone provide a reference on what those file permissions mean? I can make a guess but when I searched around, could not find anything about unix v2 permissions. ls output looks so familiar, except for the sdrwrw!
replies(1): >>43114249 #
2. b0in ◴[] No.43114249[source]
Someone in the mailing list thread linked the man pages that they were able to extract out

https://gitlab.com/segaloco/v1man/-/blob/master/man1/stat.1?...

for sdrwrw:

- column 1 is s or l meaning small or large

- column 2 is d, x, u, -; meaning directory, executable, setuid, or nothing.

- the rest are read-write bits for owner and non-owner.

replies(1): >>43120028 #
3. Postosuchus ◴[] No.43120028[source]
Pretty interesting. I guess it was way later, when they came up with the SUID semantics and appropriated the first character for symlinks (l) or setuid binaries (s)...