Red Hat Bugzilla – Bug 509080
Can not clear Read-only attribute
Last modified: 2009-09-10 04:20:08 EDT
Created attachment 350073 [details]
rpmdev-diff of samba-3.3.2-0.33.fc11.src.rpm with Jeremy Allison fix
Description of problem:
Unable to change the attribute of a Samba shared file from WinXP client
from "Read-only" to "Writable"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Setup a shared Samba directory, and access it from WinXP client.
2. From WinXP, Select a file and set it as ReadOnly:
Properties => Attributes => Read-Only [X] (Then apply)
3. From WinXP, Select the same file and uncheck Read-Only flags:
Properties => Attributes => Read-Only [ ] (Then apply)
Step 3 failed on WinXP client with "An error occurred applying attributes to the file"
Read-Only flags on selected file removed.
Bug already raised on samba ML:
And a fix here:
I've tested this patch and it fix my issue.
I've attached my modification to samba-3.3.2-0.33.fc11.src.rpm (.SPEC + patch)
I've just checked with the new released "samba-3.4.1-0.41.fc11" (from testing-update) and it seem to fix this problem.