wth does -rw-r--r-- mean

Jul 8, 2024, 1:45 AM
2 0 7

comments

i think: readwrite for you, read for your group, read for others

Linux file permissions

no like, i got that from context, but what does it mean the permissions are

Root can read and write, that's what the first three characters are for. The next three characters are the perms for your account, which is read only, and the last three characters are for everybody else, which is also read only. All of this can also be represented by numbers. There us also another character, defined by x which makes the file executable for root, you or everybody else.

That's why there are three options for each block

so three blocks of three characters, whats the lone hyphen at the end for?

I'm not entirely sure