Bug 3575 - Permissions and ownership changing upon file modification...
Summary: Permissions and ownership changing upon file modification...
Status: RESOLVED INVALID
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.10
Hardware: PPC Mac OS X
: P3 major
Target Milestone: none
Assignee: James Peach
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-02 21:04 UTC by J. J. Franzen
Modified: 2007-02-26 12:40 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 J. J. Franzen 2006-03-02 21:04:11 UTC
I'm seeing rather odd behavior on a XServe running OS X Server 10.4.5.  Files created with permissions of 777 are changed to 077 when modified by a user other then the original owner.  Also, ownership changes from the original creator of the file to the person who just modified it.  I have to assume this is not the usual behavior, right?  Any help here would be greatly appreciated.  Thanks,

J^2
Comment 1 James Peach 2007-02-08 13:32:56 UTC
This is almost certainly a result of application file saving behaviour. Many applications will rewrite the file when saving rather that just updating it. This is a safety technique designed to minimise the chances of data loss if an error occurs while saving.

If you want to verify this, please attach a trace of the behaviour. See http://wiki.samba.org/index.php/Capture_Packets for how to capture a trace.
Comment 2 James Peach 2007-02-26 12:40:06 UTC
Closing, sine this is almost certainly expected application behaviour.