[KLUG Members] samba directory settings

bill bill at billtron.com
Wed Dec 1 17:33:35 EST 2004


On Wed, 2004-12-01 at 12:50, Adam Tauno Williams wrote:
> > If I wanted a directory on a Samba server that everybody with an account
> > could read and write to, and they could each read and write to a
> > subdirectory that any one of them created, I figured I would set it in
> > smb.conf to 
> >    writeable = yes
> >    create mask = 0776
> > But, I'm not sure exactly how the create mask is operating on the
> > directory and subdirectories.  Can anybody shed some light on this?
> 
> I prefer using force create mode
> 
> force create mode = 0666
> force directory mode = 0777
> 
> thus all created files will be rw-rw-rw- and all created directories will be
> rwxrwxrwx.  That should provide access to everything for all authenticated
> users.  

This part I understand.  I went ahead and did it.

> You can also
> 
> force group = users
> 
> for instnance to make the group owner ship of all created files to be the group
> users rather that the users actuall primary group (assuming these are
> different).

This part I don't.  

What good is it if I force everything to belong to group "users"? 
Wouldn't I have to also assign everybody to that group somehow?  Is that
some sort of default group that everybody already belongs to?  Alas, I
don't do much with groups in Linux so I don't quite get it yet.




More information about the Members mailing list