changing file permissions

Αρχική Σελίδα
Συνημμένα:
Μήνυμα σαν ηλεκτρονικό μήνυμα
+ (text/plain)
Delete this message
Reply to this message
Συντάκτης: Jeremy C. Reed
Ημερομηνία:  
Αντικείμενο: changing file permissions
On Thu, 22 May 2003, Rob Wultsch wrote:

> What is the commmand to change ownership of a directory on the command
> line? the man page for chmod is not very helpful.


Use the chown(1) command.

> I am trying to make a guest user account that would rx access my music,
> but no access to my email and such...


Maybe add a music group to your /etc/group file with the members who are a
part of it. Then:

chgrp -R music /path/to/your/music/directory
chmod -R 750 /path/to/your/music/directory

Jeremy C. Reed
http://www.reedmedia.net/