Bug 509080 - Can not clear Read-only attribute
Summary: Can not clear Read-only attribute
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Simo Sorce
QA Contact: Fedora Extras Quality Assurance
URL: http://www.mail-archive.com/samba@lis...
Whiteboard:
Depends On:
Blocks: 516996
TreeView+ depends on / blocked
 
Reported: 2009-07-01 09:06 UTC by Jérôme Audu
Modified: 2009-09-10 08:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 08:20:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
rpmdev-diff of samba-3.3.2-0.33.fc11.src.rpm with Jeremy Allison fix (4.42 KB, patch)
2009-07-01 09:06 UTC, Jérôme Audu
no flags Details | Diff

Description Jérôme Audu 2009-07-01 09:06:26 UTC
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):

samba-3.3.2-0.33

How reproducible:

Always

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)

  
Actual results:

Step 3 failed on WinXP client with "An error occurred applying attributes to the file"


Expected results:

Read-Only flags on selected file removed. 

Additional info:

Bug already raised on samba ML:
http://www.mail-archive.com/samba@lists.samba.org/msg99384.html

And a fix here:
http://www.mail-archive.com/samba@lists.samba.org/msg99406.html

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)

Comment 1 Jérôme Audu 2009-09-10 08:20:08 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.