[Samba] cant set read-only attr. on office files in 1 share.

rmi rmi at open-challenge.nl
Mon Dec 1 13:03:35 GMT 2003

Lo folks,

I have samba3 running on my redhat 8 system.
Two shares are available: my "main" share and my "homes" shares.
I cant set read-only attr on office files on my main share. 
But i can set them in my homes share. 

Ive read something about a bug beeing fixed in 3.0.1 but then i shouldnt 
be able to set read-only in my homes share ...or am i mistaking ?

There is however 1 difference between these 2 shares. the "main" share has POSIX ACL's on the files and the "homes" share doesnt have them.
POSIX ACL's are working perfect btw. Any1 got a clue on how to tacle this issue....

Thx in advance

My smb.conf is this:

	workgroup = GENERAL
	server string = Samba Server
	security = DOMAIN
	password server =
	passdb backend = tdbsam:/usr/local/samba/private/passdb.tdb
	log level = 5
	log file = /var/log/samba/log.%m
	max log size = 50
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	show add printer wizard = No
	preferred master = No
	domain master = No
	dns proxy = No
	wins support = Yes
	ldap ssl = no
	template homedir = /opt/oc/home/%D/%U

	comment = Home Directories
	read only = No
	veto files = /.??*/
	browseable = No

	comment = All Printers
	path = /var/spool/samba
	printable = Yes
	browseable = No

	comment = OCH Data
	path = /opt/oc/oc_data
	valid users = @oc_med
	admin users = @symas
	read list = @oc_med
	write list = @oc_med
	read only = No
	create mask = 0770
	force create mode = 0770
	directory mask = 0770
	force directory mode = 0770
	inherit permissions = Yes
	map acl inherit = Yes
	veto files = /lost+found/
	hide files = /lost+found/

More information about the samba mailing list