Bug 2901 - File Permissions Change When Files are Modified
File Permissions Change When Files are Modified
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: File Services
x86 Windows XP
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2005-07-19 14:58 UTC by Daryl Ashley
Modified: 2006-04-09 10:36 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Daryl Ashley 2005-07-19 14:58:59 UTC
I am running Samba 3.014a on a server running Fedora Core 3.  The source was
compiled with ACL support.  When I modify files with various permissions using
notepad on a Windows XP machine, the permissions on the files change in weird
ways.  The following happens: Files with 0666 permissions change to 0766 after a
modification is made to the file, 0664 is changed to 0766, 0660 is changed to
0762, 0644 is changed to 0766, 0640 is changed to 0762, and 0600 is changed to
0722.  The configuration file looks like:

# Global parameters
	workgroup = IAT
	server string = Exeter
	security = SERVER
	password server =
	log file = /var/log/samba/%m.log
	max log size = 50
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	load printers = No
	printcap name = /etc/printcap
	dns proxy = No
	cups options = raw

	comment = PPower Public Share
	path = /tas/ppower-pub
	read only = No
	create mask = 0777
	directory mask = 0777

Is this supposed to happen?

Thanks for any help.
Comment 1 Volker Lendecke 2006-04-09 10:36:14 UTC
Please provide debug level 10 logs of smbd when doing this.