Bug 10514 - setgid bit is not inherited when directory is created from Mac clients
setgid bit is not inherited when directory is created from Mac clients
Status: NEW
Product: Samba 3.6
Classification: Unclassified
Component: File services
3.6.18
All Linux
: P5 normal
: ---
Assigned To: Volker Lendecke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-23 10:15 UTC by Guy Rozendron
Modified: 2014-03-23 14:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guy Rozendron 2014-03-23 10:15:54 UTC
root@izbox-35000-1 /export/CS-257 # ls -la                                                                                                                    14-03-23 10:17
total 90
drwxrwsr-x 5 user01                  izboxusers    6 Mar 23 10:17 .
drwxr-xr-x 7 root                    root       4096 Mar 23 09:10 ..
drwxr-sr-x 2 root                    izboxusers    2 Mar 23 10:16 guy-created-from-localhost
drwxr-xr-x 2 user01                  izboxusers    2 Mar 23 10:16 guy-created-from-mac-over-samba
drwxr-sr-x 2 user01                  izboxusers    2 Mar 23 10:17 guy-created-from-win7-over-samba
-rwxr--r-- 1 IZBOX-DEV\administrator users      6148 Mar 23 09:10 .DS_Store
root@izbox-35000-1 /export/CS-257 # net conf list                                                                                                             14-03-23 10:17
[global]
	private dir = /meta/izbox/samba/private
	workgroup = IZBOX-DEV
	interfaces = *
	usershare path = /var/lib/samba/usershares
	usershare max shares = 51
	log level = 3
	syslog = 3
	syslog only = yes
	log file = /var/log/samba/smbd.log
	max connections = 256
	printcap name = /dev/null
	printing = bsd
	realm = izbox.dev.local
	netbios name = izbox-35000
	idmap config * : range = 5000-5050
	idmap config izbox-dev : range = 0-65535
	idmap config * : backend = nss
	idmap config izbox-dev : backend = nss
	security = ads
Comment 1 Guy Rozendron 2014-03-23 10:19:12 UTC
We tried adding the following configuration parameters, and the result is the same:
	inherit permissions = yes
	create mask = 2777
	directory mask = 2777
Comment 2 Volker Lendecke 2014-03-23 14:32:02 UTC
Is the file system behind the share XFS? If so, try adding linux_xfs_sgid vfs module.