[Samba] Office documents saved in read-only mode in samba 2.2.7a

Marco Danzo mdanzo at eas.it
Tue Mar 11 15:10:38 GMT 2003


I have recently upgraded from samba 2.2.6 to 2.2.7a on a Linux RedHat 8.0
server.
Now I have got a problem with Win2K/XP clients.
When a client saves an excel or word document on a Samba share, it is
automaticaly
saved in read only mode(444), and the owner becomes "root"
Notes:
	This doesn't happen if I use the notepad.
	The /tmp share works. Files are not saved in read only mode.

Any idea ?
Thanks, M. Danzo

--------------------------MY CONFIGURATION
FILE--------------------------------------

# Global parameters
[global]
	workgroup = xxx
	netbios name = yyyyyyyyy
	server string = yyyyyyyyyyyy
	encrypt passwords = Yes
	passwd program = /usr/bin/passwd %u
	password level = 20
	unix password sync = Yes
	log level = 1
	log file = /var/log/samba/%m.log
	max log size = 500
	time server = Yes
	deadtime = 15
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	load printers = No
	domain admin group = root
	domain guest group = nobody @guest
	logon script = %U.bat
	logon path = \\%N\profiles\%U
	logon home = \\%N\%U\.profile
	domain logons = Yes
	os level = 40
	preferred master = Yes
	domain master = Yes
	wins support = Yes
	oplock break wait time = 20
	winbind uid = 10000-20000
	winbind gid = 10000-20000
	admin users = mdanzo
	create mask = 0764
	directory mask = 0775
	hosts allow = 10.1.
	veto oplock files = /*.mdb/*.MDB/*.xls/*.XLS

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

[public]
	comment = Directory pubblica
	path = /home/public
	read only = No
	create mask = 0775

[homes]
	comment = Home Directories
	read only = No
	browseable = No

[netlogon]
	comment = Network Logon Service
	path = /usr/netlogon
	browseable = No

[home]
	path = /home
	read only = No

[tmp]
	comment = Temporary file space
	path = /tmp
	read only = No
	create mask = 0777
	directory mask = 0777
	guest ok = Yes




More information about the samba mailing list