linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [confused] can orangefs ACLs be removed at all?
@ 2020-02-01  0:56 Al Viro
  2020-02-06 15:35 ` Mike Marshall
  2020-03-13 16:33 ` Mike Marshall
  0 siblings, 2 replies; 4+ messages in thread
From: Al Viro @ 2020-02-01  0:56 UTC (permalink / raw)
  To: Mike Marshall; +Cc: linux-fsdevel, devel

	Prior to 4bef69000d93 (orangefs: react properly to
posix_acl_update_mode's aftermath.) it used to be possible
to do orangefs_set_acl(inode, NULL, ACL_TYPE_ACCESS) -
it would've removed the corresponding xattr and that would
be it.  Now it fails with -EINVAL without having done
anything.  How is one supposed to remove ACLs there?

	Moreover, if you change an existing ACL to something
that is expressible by pure mode, you end up calling
__orangefs_setattr(), which will call posix_acl_chmod().
And AFAICS that will happen with *old* ACL still cached,
so you'll get ACL_MASK/ACL_OTHER updated in the old ACL.

	How can that possibly work?  Sure, you want to
propagate the updated mode to server - after you've
done the actual update (possibly removal) of ACL-encoding
xattr there...

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-03-13 16:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-01  0:56 [confused] can orangefs ACLs be removed at all? Al Viro
2020-02-06 15:35 ` Mike Marshall
2020-02-06 17:09   ` Al Viro
2020-03-13 16:33 ` Mike Marshall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).