chmod

Change file permissions

← All commands

Common Examples

$ chmod 755 script.sh
$ chmod +x file
$ chmod -R 644 dir/
$ chmod u+w,go-w file