chmod-Permissions
$ chmod ug+rwx file.txt$ chmod g-rwx file.txt$ chmod -R ug+rwx file.txt# Permission File | Directory
# r read Allows a file to be read. | Allowd file names in the directory to be read.
# w write Allows a file to be modified. | Allows entries to be modified within the directory.
# x execute Allow the exexution of a file | Allows access to contents and metadata for entries.
#Permission Categories
#u User
#g Group
#o Other
#a All
#display a user's groups
groups
#or
id -Gn

Last updated