Ben Bettin wrote:
I'm running Sarge and have two 250 gb drives.  One has my system
installed on it, the other is mounted as /backup.  I intended to use
/backup to...well...back things up :)

How do I grant certain users access to /backup?  Right now it's only
accessible to the root user.  I've read through a few man-pages, and I
get the impression that I need to add the users to the directory's
group....but I'm not sure how to do that.  Any thoughts?

Hmmm.... I'm doing this by head, plese give it a little "brain power" if these instructions are not 100% accurate.


I think it sufices:

1 - create group "backup_users"
# groupadd backup_users
2 - put wanted user in group, by editing /etc/group
...
backup_users:x:34:user1,user23,user64
...
3 - give permissions to directory
chown -R root.backup_users /backup
chmod -R 660 /backup

Actually, there is already a "backup" group in the system, but I dunno exctly if it's already there for some specific purpose or not...

Good luck!
Joao Clemente


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Reply via email to