Installation guide

C H A P T E R 5 Using the VMware Service Console
203
named User. The word User in the fourth column indicates the file’s owner is a
member of a group named User.
Permissions for the owner, the specified group and all other users are indicated in the
first column: -rwxr-xr--. The owner’s permissions are specified first: rwx (read,
write and execute). Permissions for other members of the group User are r-x (read
and execute). The final cluster of three characters (r--) indicates all other users have
permission to read the file but not to write to it or execute it.
You can change permissions for a file using the chmod command, shown in the next
table. One convenient way of specifying the permissions you want to set is by using a
numerical shorthand.
Read = 4
Write = 2
Execute = 1
Combinations of these permissions are specified by adding the numbers for the
permissions you want to set. For example, read and execute is 5. Read, write and
execute is 7.
Permissions are specified in the same order as they are shown in the directory listing
— owner, group, all other users.
Command Example and Explanation
chmod Change mode (permissions) for a specified file, group of files or directory.
chmod 755 *.vmx
Set permissions on all files in the current directory that end with .vmx to be
-rwxr-xr-x.
chmod 660 nvram
Set permissions on the file nvram in the current directory to be -rw-rw----.
chown Change the owner of a specified file. You can change the owner and the group for a
file at the same time.
chown User2 win2000.vmx
Change the owner of the file win2000.vmx to User2.
chown User2:VMUsers win2000.vmx
Change the owner of the file win2000.vmx to User2 and change the group to
VMUsers.