chmod

Change the access permissions of a file or directory.
More information.
chmod u+x {file}
chmod u+rw {file_or_directory}
chmod g-x {file}
chmod a+rx {file}
chmod o=g {file}
chmod o= {file}
chmod -R g+w,o+w {directory}
chmod -R a+rX {directory}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY