On Mon, Nov 30, 2020 at 09:37:29PM -0600, Eric Sandeen wrote: > > We should be really clear how applications are supposed to use the > > attributes_mask. Does it mean that they will always be able to set a > > flag which is set in the attribute mask? That can't be right, since > > there will be a number of flags that may have some more complex checks > > (you must be root, or the file must be zero length, etc.) I'm a bit > > unclear about what are the useful ways in which an attribute_mask can > > be used by a userspace application --- and under what circumstances > > might an application be depending on the semantics of attribute_mask, > > so we don't accidentally give them an opportunity to complain and > > whine, thus opening ourselves to another O_PONIES controversy. > > Hah, indeed. > > Sorry if I've over-complicated this, I'm honestly just confused now. Yeah, I'm honestly confused too how applications can use the attributes mask, too. Presumably there is some case where the flag not being set *and* the file system can support that attribute, that the application could infer something interesting. I just can't figure out what that case would be. Yes, I see your pointer to Cristoph's question on this very issue back in April 2017. Pity it was never answered, at least that was archived on lore. - Ted