[Bug 228619] [NEW] samba group share not writable by group members

Gérald HOUART ghouart at ulb.ac.be
Fri May 9 11:42:43 BST 2008


Public bug reported:

Binary package hint: samba

i make a share for a group where files must have write privileges for the group but when i mount the share and create files group has not write privileges !
 
Ubuntu 8.04
Samba 3.0.28a-1ubuntu4

ls -ld /home/secretariat/secretariat
drwxrws--- 2 root secretariat 4096 2008-05-09 12:30 /home/secretariat/secretariat

smb.conf :
[global]
	workgroup = XX
	server string = ServeurXX
	obey pam restrictions = Yes
	pam password change = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
	unix password sync = Yes
	log file = /var/log/samba/%m.log
	max log size = 0
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	printcap name = /etc/printcap
	preferred master = Yes
	dns proxy = No
	hosts allow = localhost, xxx.15.127.80, 164.15.127.92, 164.15.127.94, 164.15.127.95, 164.15.127.80, 164.15.127.74
	printing = lprng
	print command = lpr -r -P'%p' %s
	lpq command = lpq -P'%p'
	lprm command = lprm -P'%p' %j
	lppause command = lpc hold '%p' %j
	lpresume command = lpc release '%p' %j
	queuepause command = lpc stop '%p'
	queueresume command = lpc start '%p'

[homes]
	comment = Home Directories
	valid users = %S
	read only = No
	create mask = 0664
	directory mask = 0775

[test]
	comment = xxx
	path = /home/secretariat/secretariat
	valid users = +secretariat
	write list = +secretariat
	force group = secretariat
	read only = No
	create mask = 0770
	security mask = 0770
	directory mask = 0770
	inherit permissions = Yes
	volume = "Secretariat"

when i create a dir (i.e. aaa) from a win or macosx client it has not
write privilieges for group !

ls -ld /home/secretariat/secretariat/aaa/
drwxr-xr-x 2 patricia secretariat 4096 2008-05-09 12:39 /home/secretariat/secretariat/aaa/

and more, it works with same smb.conf on Ubuntu (The Breezy Badger Release) Release:	5.10
with Samba 3.0.14a-6ubuntu1 !!!

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
samba group share not writable by group members
https://bugs.launchpad.net/bugs/228619
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list