by Aloha · 4y ago · 0 comments
Also, frankly, the computer is a calculator, why not have it act as the calculator for me, and tell me what the permissions already are, I can read the octal permissions and know what they mean.
I may be odd, but I don't find reading "small numbers" in binary to be much harder than reading "small numbers" in decimal, or hex. Up to about 15-or-so... Maybe as far as 31.
But get to six bits, and it's time to actually start doing multiplications and additions, for me.
chmod a-rwx,u+rw,g+r,o+r filename
a/u/g/o is all, user, group, other. - removes, + adds. r/w/x is read, write, execute (of course).
The sibling with the reference param is a great option as well, if you can remember it.