Chmod

Casecommand

To give read and write permissions to the owner of a file, and read-only permissions to everyone else

chmod 644 [FILE]

To give read, write, and execute permissions to the owner, and read and execute permissions to everyone else

chmod 755 [FILE]

To give read, write, and execute permissions to the owner, and no permissions to everyone else

chmod 700 [FILE]

To give read and execute permissions to the owner, and read-only permissions to everyone else

chmod 744 [FILE]

Last updated