[Tfug] samba & shared directories
Anthony Steckman
tfug@tfug.org
Fri Dec 20 00:59:01 2002
Shot in the dark:
Have you tried the group number instead of the group name?
+ I'm probably responding to some of what was said below:
. Date: Thu, 19 Dec 2002 13:26:54 -0700 (MST)
. Subject: [Tfug] samba & shared directories
. From: Sam Hart <hart@physics.arizona.edu>
. Reply-To: tfug@tfug.org
. To: tfug@tfug.org
.
. (hope there's someone with more samba experience than I on this list...)
.
. I'm trying my darnedest to set up a samba server to share some directories
. for certain user groups. Several of the shares will be housing databases
. (incl. MS Access) which will be accessed by several users, often at the
. same time, and thus need to deal with both file-locking and group
. ownership.
.
. I have read that I need essentially the following in my smb.conf file:
. [lab]
. path = /usr2/lab
. available = yes
. public = yes
. guest only = no
. writeable = yes
. browseable = yes
. valid users = foonly, hart
. only user = no
. oplocks = No
. level2oplocks = No
. create mask = 770
. directory mask = 770
. force group = lab
.
. with the important lines being "create mask", "directory mask" and "force
. group".
.
. The problem is that while the "create mask" and "directory mask" lines
. work, the "force group" line does not, and the group "lab" is never forced
. for new files/directories created in that share. I have tried both "= lab"
. and "= +lab" (not really understanding the difference) and neither worked.
.
. I've had some samba experience in the past, but it has always been
. rudimentary (printer sharing, basic/non-readable file sharing) and trying
. to make this stupid thing work is baffling me.
.
. Any advice would be mucho apreciated. (oh, and before anyone askes, yes,
. I'm SIGHUP'ing my smbd each time I change the config).
.
. --
. Sam Hart
. University/Work addr. <hart@physics.arizona.edu>
. Personal addr. <criswell@geekcomix.com>
. end
.
. _______________________________________________
. tfug mailing list
. tfug@tfug.org
. http://www.tfug.org/mailman/listinfo/tfug
.
.