Bug 2669 - profile acls causes all files to appear 'read-only'
profile acls causes all files to appear 'read-only'
Status: RESOLVED INVALID
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.11
All Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-28 11:19 UTC by Theron Toomey
Modified: 2005-07-07 08:49 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 Theron Toomey 2005-04-28 11:19:23 UTC
Behavior:
setting 'profile acls = yes' on a share causes the share contents to appear with
DOS Read-only attributes.

For example:
[share]
        path            = /tmp/share
        create mask     = 0770
        directory security mask = 0770
        profile acls    = yes
        browseable      = yes
        guest ok        = no
        read only       = no

This behavior started in 3.0.11 and I believe its due to the following changes:
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3811
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3814

I can confirm that backing out these changes in 3.0.14a fixes this behavior.

Thanks.
Comment 1 Björn Jacke 2005-07-07 08:44:32 UTC
it probably just causes your *folders* to be r/o, right? Do you have any problem
with this ?

Anyway - There seem to be problems with r/o attributed "special" folders and
some applications, which don't expect this. It might be a good idea to store the
r/o bit in extended attributed when store dos attributes are enabled. That would
not be a solution for systems which don't have xattrs but I don't see a better
way to do this.
Comment 2 Björn Jacke 2005-07-07 08:49:20 UTC
arrg, no you have a more generic problem. Do not set profile acls on a normal
share, doing this is broken by design. profile acls may just be used for profile
shares.