Bug 617771
Summary: | smbd changing mode of files on rename | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeff Layton <jlayton> | ||||
Component: | samba | Assignee: | Guenther Deschner <gdeschner> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 14 | CC: | gdeschner, jlayton, ssorce, steved | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | samba-3.5.6-69.fc14 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 629374 (view as bug list) | Environment: | |||||
Last Closed: | 2010-10-28 05:45:45 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
This bug has just popped up on F14 as well, so moving this to that version. Setting sev/pri to medium, as this makes it really hard to test cifsfs... The F14 version I'm using is samba-3.5.5-68.fc14.x86_64. samba-3.5.6-69.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/samba-3.5.6-69.fc14 samba-3.5.6-69.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/samba-3.5.6-69.fc13 This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. samba-3.5.6-69.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update samba'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/samba-3.5.6-69.fc13 samba-3.5.6-69.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. samba-3.5.6-69.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 434076 [details] smbd -d10 -i output I was doing some testing with the linux CIFS client (with unix extensions enabled) and noticed that the nfsidem test was failing. I've narrowed down the problem to this: [root@rawhide TEST]# chmod 0611 BAR [root@rawhide TEST]# stat BAR File: `BAR' Size: 23 Blocks: 2048 IO Block: 16384 regular file Device: 15h/21d Inode: 221217 Links: 1 Access: (0611/-rw---x--x) Uid: (50000/testuser) Gid: (50000/testuser) Access: 2010-07-23 17:34:37.000000000 -0400 Modify: 2010-07-23 17:34:37.000000000 -0400 Change: 2010-07-23 17:46:52.000000000 -0400 [root@rawhide TEST]# mv BAR FOO [root@rawhide TEST]# stat FOO File: `FOO' Size: 23 Blocks: 2048 IO Block: 16384 regular file Device: 15h/21d Inode: 221217 Links: 1 Access: (0711/-rwx--x--x) Uid: (50000/testuser) Gid: (50000/testuser) Access: 2010-07-23 17:34:37.000000000 -0400 Modify: 2010-07-23 17:34:37.000000000 -0400 Change: 2010-07-23 17:47:06.000000000 -0400 ...during the rename, samba is adding the u+x to the mode of the file. This change is not requested by the client. I'm running: samba-3.4.8-59.fc12.x86_64 smbd -d10 debug log is attached from a different session than the one above, but with a similar reproducer.