The fastest way to remember Linux permissions has to be this example!
list of permissions
u = user (e.g. u+w/u+rw/u+rwx)
g = group (e.g. g+w/g+rw/g+rwx)
o = others (e.g. o+w/o+rw/o+rwx)
rwx | r-x | r-x
421 401 401
7 5 5
r w — | r — — | — — -
4+2+0 4+0+0 0+0+0
= = =
6 4 0
Keep reading with a 7-day free trial
Subscribe to Become a Dream to keep reading this post and get 7 days of free access to the full post archives.