Op Sat, 18 Dec 2004 19:45:55 +0100 schreef [EMAIL PROTECTED]:

>In the 'man chmod' page I couldn't find an answer to this question:
>how can the administrator give permissions of a certain file or
>directory  say, to user Paul but not to user Peter?
>E.g., suppose I'm the superuser and want to give Paul but not Peter
>the permission to read the directory '/'.
>With simply '# chmod -r /' I will prevent *both* Paul and Peter
>to access that directory. How can I instead specify my choice?

You can create a user-group with permissions to the extent you want and
then add the user(s) that should have that permission to the group.
After that chown .<newgroup> <the_file_or_dir> as root, and you should
be set.

After logging in again, the user will have his/her permissions set.

Paul

-- 
The best diplomat I know is a fully activated phaser bank.
- Scotty

http://www.nlpagan.net/linux.php
Have you visited http://twiki.mdklinuxfaq.org yet?

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to