To change the permissions of a file, one uses the chmod command, with the following syntax The references are shorthand ( u , g, or o) for each class The operator determines whether to add ( ), remove ( ) or explicitly set ( =) the particular permissions TheChanging file permissions with chmod command using octal notation To change file permissions of a file use the syntax below chmod octal value filename For example, to change file permissions of a file file1txt, to say rwrr execute chmod 644 file1txt This is illustrated in the calculation belowLinux has 3 types of access to files and directories reading, writing, and execution permissions Reading permission grants users access to read files while writing permissions allow users to edit or remove files, execution permissions allow them to run files The bit setuid, setgid and sticky allow you to implement additional restrictions or privileges without changing the permissions table
Command Line Understanding Chmod Symbolic Notation And Use Of Octal Ask Ubuntu
Chmod permissions calculator