Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Basic Permissions / Samba Questions

Status
Not open for further replies.

RiverGuy

Programmer
Jul 18, 2002
5,011
0
0
US
Bear with me, I'm a long time Windows developer, I'm looking for a layman's explanation.

I need to have the ability to assign directory permissions to multiple users. Is this the correct approach?

1. Create Linux groups, assign various users to the various groups.

2. Change the directory group owner to one of those groups, assigning proper permissions.

3. Map Samba users to Linux users.

4. Set up the directories as shares.

5. When a Windows client connects to the Samba server with a user account, they will be allowed access to directories in which they are the owner, or which they are a member of a group which is a group owner??? Nothing special needs to occur for the client log in to a specific group??? When I mean is if a user account has primary group of A, but directory B has group of C, if the user account in in group C, does anything special need to be done?

 
IIRC samba users and local users are two differnt enities.

You should be able to set permissions for users/groups per share in smbd.conf
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top