[Samba] Creating directories as a group.

Paul Espinosa samba at ericius.com
Sun Feb 22 03:18:55 GMT 2004


Use:

force user = <username>
  and
force group = <group>

Paul Espinosa

-- 
"They that would give up freedom to obtain a little temporary
safety deserve neither freedom nor safety"

	--Benjamin Franklin


.----[ Leonardo Boselli wrote ]----
|
| Fri, 20 Feb 2004 19:13:50 +0100
|
| I have this section on smb.conf :
| 
| [pub]
|   comment = Public area
|   path = /pub
|   public = no
|   writable = yes
|   read only = no
|   valid users = fabio leo
|   preserve case  = yes
|   create mode = 0760
| 
| When, from win2k a directory is creadetd there it get owner:group the 
| same of the user that access, but i cannot change from windows the 
| group. (actually i would like to change fabio leo in admingroup, where 
| admingroup is an unix group)
| How to change smb.conf so any file/directory created there is created 
| as
| fixuser:admingroup or even user:admingroup (fix user and fix gropup 
| are a fixed uid, valid for every user ...)
| ????


More information about the samba mailing list