Permissions

Permissions

Each access level (read, write, execute) has an octal value:

Access level Octal value
Read 4
Write 2
Execute 1

Each identity (user, group, others) has a position:

Identity Position
User First or left-most
Group Middle

Others -Last or right-most

ex. $ chmod 740 [file]

were user has rwx, group has r only, and others have no access
The three permissions values are associated with identities: user, group, other

u g o
7 4 0
The 7 is assigned to the user and is the sum of 4+2+1 or read+write+execute (full access)
The 4 is assigned to the group and is the sum of 4+0+0 (read-only)
The 0 is assigned to others and is the sum of 0+0+0 (no access)
The 7 is assigned to the user and is the sum of 4+2+1 or read+write+execute (full access)
The 4 is assigned to the group and is the sum of 4+0+0 (read-only)
The 0 is assigned to others and is the sum of 0+0+0 (no access)

set permissions for the Resources directory and all of its contents by using "-R"

Give certain group permissions

$ sudo setfacl -R -m u:group:rx /to/folder

More permissions info

(mygroup)=(group)
$ sudo usermod -aG [GOUP] [MYUSER]
$ sudo chown [USER]:[GROUP] [file]
$ sudo chmod 750 [file]
$ sudo setfacl -m g:[group]:rwx [file] <-- worked for plex libraries, now showing up
$ sudo setfacl -m u:[user]:rwx [file]

ex. $ sudo setfacl -m g:plex:rwx /media/andy