Dan Kegel dank@kegel.com writes:
The convention chosen is that the win32 file attributes are stored as a four digit hex number in the extended attribute named user.wine.attr. (The 'user' prefix is suggested by http://www.freedesktop.org/wiki/CommonExtendedAttributes .)
You should use the user.DosAttrib format defined by Samba.