- => a file
d => a directory
r => read
w => write
x => execute
-rwxrw-r--
drwxrw-r--
type | user | group | other
-- | -- | -- | --
d | rwx | rw- | r--
u => user
g => group
o => other people (from the outside world)
# Give (+) the others (o) permission to write
chmod o+w <file-or-folder-name>
# Give (+) everyone permission to read and execute
chmod +rx <file-or-folder-name>
# Remove (-) the group's (g) permission to execute
chmod g-x <file-or-folder-name>