Use an EA to store dos attributes
Jeremy Allison
jra at samba.org
Thu Jul 24 17:53:05 GMT 2003
On Thu, Jul 24, 2003 at 10:49:52AM -0700, Marc Kaplan wrote:
> Jeremy,
>
> Now that we're using EAs where available to store whether the file/folder's
> ACL was inherited, can we also consider storing the dos attributes in an EA,
> rather than masking the file permissions? It seems like a cleaner solution
> then changing ACLs/perms (on Read-only set)/looking for some magical
> combination of Perms/ACLs (to present Read-only). There are other situations
> where this would also help, for example: the hidden attribute cannot be set
> on directories (actually, I'm having trouble getting it to stick on files
> too!). If the system has extended attributes, why not use them for this
> purpose?
>
> Actually, I just searched through my old Samba Technical mail, and I found
> that you said that you were considering it for 3.0 (mail sent on: Friday
> 3/21/03). If you do want it in 3.0, would you accept a patch? Or do you want
> to do this work your self?
Yes there is already a patch in my inbox for this. I would definately consider
it for 3.0 - but I'm franticly working on getting the smb signing right (this
will be a *big* deal w.r.t. krb5 security attacks soon....). The limiting factor
has been testing time.
Please go for it !
Jeremy.
More information about the samba-technical
mailing list