Wine, samba, and xattrs

Jeremy Allison jra at samba.org
Tue Sep 8 14:53:16 MDT 2009


On Tue, Sep 08, 2009 at 01:33:58PM -0700, Dan Kegel wrote:
> [resent from right email address]
> 
> Wine is finally getting around to supporting the DOS hidden, system,
> and archive file attributes.  A draft patch is at
>  http://www.winehq.org/pipermail/wine-patches/2009-September/078227.html
> It follows the convention used by samba3 for encoding these
> DOS attributes in unix extended attributes.
> 
> Question: does it follow the conventions closely enough?
> In particular, it doesn't encode readonly or directory
> attributes in the xattr, nor does it create an xattr for
> files with the default attribute (archive).
> And it doesn't support the encoding used by samba4 at all yet.
> Is that ok for now?

This is very timely :-). I'm planning to enhance
the encoding of DOS attrs with some of the extra
fields we need for NTFS compatibility (mainly
"create time") in the 3.5 - 3.6 timeframe.

The code you're pointing to will overwrite
the "extended" version of the DOS attributes
that we're going to add. What is your timeframe
for getting this patch into wine ? Maybe I can
work on the code for both Samba 3.[56] and wine
to do this at the same time ?

Jeremy.


More information about the samba-technical mailing list