[Samba] Re: Can not clear Read-only attribute

Jeremy Allison jra at samba.org
Thu Mar 12 17:57:21 GMT 2009


On Thu, Mar 12, 2009 at 02:56:59AM +0100, Günter Kukkukk wrote:
> Am Donnerstag, 12. März 2009 schrieb Jeremy Allison:
> > On Thu, Mar 12, 2009 at 12:56:27AM +0000, tom m. wrote:
> > > 
> > > I'm not against doing that, but does add some work: rebuild extended attribute
> > > support in kernel, change fstab, etc.  But if I do this, what will be the state
> > > of all the attribute bits of existing files?  That is, will files marked
> > > Read-only now suddenly be not Read-only?  How about System/Hidden files?
> > 
> > Yes, you'll lose current DOS attribute mapping, but you'll
> > be much happier in the long run :-).
> > 
> > Jeremy.
> 
> Hi Jeremy,
> but we have a bug here - the old wellknown "map readonly = Yes" stuff isn't working
> anymore. Just did a test on latest v3-3-test.
> Digging deeper now ... it's related to (current) NTCreateAndX

Logged it as bug #6186, I've attached the patch and described
the workaround.

Jeremy.


More information about the samba mailing list