[Cialug] Permissions or Samba setting?

Josh More morej at alliancetechnologies.net
Wed Sep 12 14:03:55 CDT 2007


Look into setting umask for the samba process, and turn on the group
sticky bit for the folders.  Setting the umask to make any files group
writable will make any new files be set to g+w.  Setting the group bit
sticky will make all files owned by a common group.  That will give all
of your users the ability to read/write all files within the structure.

I am assuming that that fits the business need.  If I'm wrong and you
actually want every file to be stored as the equivalent to:

chown -R joeuser:fungroup /path/to/foo
chmod -R 755 /path/to/foo

Then you would need to set up user equivalents in samba, which may not
be a good idea.


 

-Josh More, RHCE, CISSP, NCLP, GIAC 
 morej at alliancetechnologies.net 
 515-245-7701



>>> "Nathan C. Smith" <nathan.smith at ipmvs.com> 09/12/07 1:59 PM >>> 

I have directory that is also shared via Samba.  I would like every
file
created in this directory to have the same user/group ownerships and
permissions.  Can I set this via file permissions?  What is the term I
should be looking for?

Is it better to do this sort of thing in the file permissions or in
Samaba
settings?

Thanks.

-Nate
_______________________________________________
Cialug mailing list
Cialug at cialug.org
http://cialug.org/mailman/listinfo/cialug



More information about the Cialug mailing list