Datasheet
16
Phase 1
Working on the Command Line
This command grants rw-rw---- permissions to the xorg.conf file in /home/project7.
The symbolic form of the command represents a series of changes to permissions, using the
codes summarized in Table 1.2.
Using these codes works best if you know the current mode and want to change it by adding
or removing certain specific permissions. Table 1.3 summarizes some examples.
TABLE 1.2 Codes Used in Symbolic Modes
Permission
Set Code Meaning
Change
Type Code Meaning
Permission to
Modify Code Meaning
u owner + add r read
g group - remove w write
o world = set equal
to
x execute
a all X execute only if
file is directory or
already has
execute permission
s SUID or SGID
t sticky bit
u existing owner’s
permissions
g existing group
permissions
o existing world
permissions
TABLE 1.3 Examples of Symbolic Permissions with chmod
Command Initial Permissions End Permissions
chmod a+x bigprogram rw-r--r-- rwxr-xr-x
chmod ug=rw report.tex r-------- rw-rw----
83484.book Page 16 Monday, September 18, 2006 8:58 AM










