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

Tom Talpey tom at talpey.com
Tue Oct 31 12:48:47 UTC 2023

On 10/30/2023 2:53 PM, Ralph Boehme wrote:
> 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.

I agree that would be a much cleaner approach.

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

Isn't it even higher overhead for the client to be setting this?


More information about the samba-technical mailing list