[SMB3 POSIX] POSIX client creates a file, set the ARCHIVE bit or not

Ralph Boehme slow at samba.org
Mon Oct 30 18:53:34 UTC 2023


On 10/30/23 19:25, Tom Talpey wrote:
> On 10/30/2023 2:13 PM, Ralph Boehme wrote:
>> On 10/30/23 18:52, Jeremy Allison wrote:
>>> Yep, sounds good to me !
>>
>> ok. Noticed we need the tweak at a slightly different place, but 
>> anyway, working on it while at it.
>>
> 
> Is this really worth it? It seems odd to set a Windows-only attribute
> from a Posix system, just because it's there. I guess it's mostly
> harmless though.

to me the question is: do we want to special case this in the spec? I 
would rather just have the server set the ARCHIVE bit for POSIX clients 
according to MS-FSA.

Otoh, in the case of Samba, storing the DOS attrs in an xattr in the 
filesystem is an extra IO syscall.

-slow

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20231030/730254c9/OpenPGP_signature.sig>


More information about the samba-technical mailing list