Bug 2901 - File Permissions Change When Files are Modified
Summary: File Permissions Change When Files are Modified
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.14a
Hardware: x86 Windows XP
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-19 14:58 UTC by Daryl Ashley (dead mail address)
Modified: 2020-11-16 12:07 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 Daryl Ashley (dead mail address) 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
[global]
	workgroup = IAT
	server string = Exeter
	security = SERVER
	password server = 10.0.0.22
	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

[ppower-pub]
	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.

Thanks,

Volker
Comment 2 Björn Jacke 2020-11-16 12:07:55 UTC
15 yeast old bug report and no feedback, closing.