Quote:
Originally Posted by rjo98
hi lutusp. so if i'm following what your saying, i need to chmod 775 to 1) keep my photo. photo in tact for my samba share and 2) give permission to that backup account which isn't in the photo group.
or would it be better to add backup into the photo group? can an account belong to more than one group at a time?
|
Easy way to find out is to discover which groups you belong to:
Certainly more than one.
To add a user to a group (must be root):
Code:
# gpasswd -a user group
Your specific case ("backup" must be a user for this to work):
Code:
# gpasswd -a backup photo
And yes, it's generally better to add a user to a new group than to open up directory access to all.
More here: