Samba 3.0.20 read-only behaviour

Andrew Bartlett abartlet at samba.org
Tue Oct 11 01:47:39 GMT 2005


On Mon, 2005-10-10 at 18:17 -0700, Jeremy Allison wrote:
> On Tue, Oct 11, 2005 at 10:50:28AM +1000, Andrew Bartlett wrote:
> > 
> > Sure, I should store dos attributes on every file on my filesystem, to
> > stop Samba over-zealously marking files as such?  I just think the logic
> > in this is all backwards:  Now we have this EA storage you are so fond
> > of, why do we need to force it based on permissions?
> >
> > DOS attributes and access control are different things, and I think this
> > is undue mixing.
> 
> If you want to decouple DOS attributes from permissions, you need
> to mark a file as such. Samba has historically used the lack of 
> the everyone unix "w" bit to denote read-only.

It was the user "w" bit.

> It's only since we have
> EA's that we've been able to decouple the two. If you don't like it
> I suggest you tell me where else to stick it (*).......

Can we at least remove the dependence on the *share* read only setting.
A file seen via a read-only share should not have different attributes
to a file seen via a read-write share, of the same unix location!

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.        http://suse.de
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20051011/dadde5cc/attachment.bin


More information about the samba-technical mailing list