[SMB3POSIX] File attributes

Ralph Boehme slow at samba.org
Tue Nov 14 09:14:11 UTC 2023

On 11/13/23 18:50, Jeremy Allison wrote:
> On Mon, Nov 13, 2023 at 12:28:18PM +0100, Ralph Boehme wrote:
>> We had support for file atttributes in the CIFS UNIX extensions, this 
>> is currently not in the spec (or code) for SMB3 POSIX.
>> Is this intentional? What is the reason?
> Do you mean the attributes listed by:
> man chattr.


> chattr - change file attributes on a Linux file system
> This was at the insitence of Steve as I recall.

adding Steve to the loop.

> We never implemented this.
> Might be done via a tunnelling ioctl ? Other thoughts ?

well, it's a rabbit hole of its own and still seem to be rarely used on 
Linux and the BSDs. It's not POSIX anyway so just declare it out of 
scope for now?

The Linux interface is via ioctls so doing it over the wire via SMB2 
IOCTLs looks like a good way forward allowing us to ignore this for now 
and possibly add it later if there's demand and resources to implement it.

-------------- 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/20231114/c0dfe990/OpenPGP_signature.sig>

More information about the samba-technical mailing list