2
To grant the users group and other users write access to kde-start.xml, enter
chmod go+w kde-start.xml
3 To remove write access for all users, enter
chmod -w kde-start.xml
If you do not specify any kind of users, the changes apply to all users— the
owner of the le, the owning group and the others. Now even the owner tux
does not have write access to the le without rst reestablishing write permis-
sions.
4
To prohibit the usersgroup and others to change into the directory local,
enter
chmod go-x local
5
To grant others write permissions for two les, for kde_quick.xml and gnome
_quick.xml, enter
chmod o+w kde_quick.xml gnome_quick.xml
Procedure 17.5: Changing Ownership
Suppose you are tux and want to transfer the ownership of the le kde_quick.xml
to an other user, named wilber. In this case, proceed as follows:
1
Enter the username and password for root.
2 Enter
chown wilber kde_quick.xml
3 Check what happened with
ls -l kde_quick.xml
You should get the following output:
-rw-r--r-- 1 wilber users 47896 2006-06-21 09:46 kde_quick.xml
4 If the ownership is set according to your wishes, switch back to your normal
user account.
204 Start-Up