chmod
Syntax: chmod [{ugoa}{+-=}{rwx}] [file or directory] For example chmod g+w testfile
[mode=421] [File or directory]
-R recursive modifications such as Chmod-r 777 TestDir
Modify directory testfile directory files for all users with full permissions
Summary of File directory permissions
Represents the meaning of the character permission on the file to the directory
R Read permission to view the contents of a file to list content in a directory
W Write permission can modify the contents of the file can be created in the directory, delete files
X Execute permissions can execute file can enter directory
============================================================
Chown changing the owner of a file or directory
Syntax chown [user] [file or directory]
============================================================
CHGRP changing the owning group of a file or directory
Syntax chgrp [user Group] [file or directory]
============================================================
Umask display, set default permissions for files
Syntax Umask [-S]
-S Displays the new file default permissions in rwx form
Linux Common commands------Rights Management commands