Novell LINUX ENTERPRISE DESKTOP 10 SP2 - DEPLOYMENT GUIDE 08-05-2008 Deployment Manual page 382

Table of Contents

Advertisement

2. A character for deletion (–), setting (=), or insertion (+)
3. The abbreviations
• r—read
• w—write
• x—execute
4. Filename or filenames separated by spaces
If, for example, the user tux in
Permissions"
rectory ProjectData, he can do this using the command chmod o+w
ProjectData.
If, however, he wants to deny all users other than himself write permissions, he
can do this by entering the command chmod go-w ProjectData. To prohibit
all users from adding a new file to the folder ProjectData, enter chmod -w
ProjectData. Now, not even the owner can create a new file in the directory
without first reestablishing write permissions.
Changing Ownership Permissions
Other important commands to control the ownership and permissions of the file
system components are chown (change owner) and chgrp (change group). The
command chown can be used to transfer ownership of a file to another user.
However, only root is permitted to perform this change.
Suppose the file Roadmap from
Permissions"
root should then enter chown geeko Roadmap.
chgrp changes the group ownership of the file. However, the owner of the file
must be a member of the new group. In this way, the user tux from
"Sample Output Showing File Permissions"
the file ProjectData to project4 with the command chgrp project4
ProjectData, as long as he is a member of this new group.
366
Deployment Guide
Example 15.2, "Sample Output Showing Directory
(page 365) also wants to grant other users write (w) access to the di-
Example 15.2, "Sample Output Showing Directory
(page 365) should no longer belong to tux, but to the user geeko.
(page 364) can switch the group owning
Example 15.1,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux enterprise desktop 10 sp2

Table of Contents