Now, let us see how chmod command can be used to change the access mode of a file Example 1 Let's change the assgn1_clientc permission so that the owner cannot write (w) in the file but can only read it BEFORE rwrwr mik mik assgn1_clientc COMMAND chmod u=r assgn1_clientc AFTER rrwr mik mik assgn1_clientc BeforeAdd a sticky bit to a given directory chmod ot dirname; Chmod table 3243Chmod table permissions In Unix and Unixlike operating systems, chmod is the command and system call which is used to change the access permissions of file system objects It is also used to change special mode flags The request is filtered by the umask The name is an abbreviation of change mode Modes are the filesystem
How Chmod 777 Works