[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/3] virtiofsd: Add an option to enable/disable posix acls
From: |
Miklos Szeredi |
Subject: |
Re: [PATCH 1/3] virtiofsd: Add an option to enable/disable posix acls |
Date: |
Wed, 17 Feb 2021 09:53:04 +0100 |
On Wed, Feb 17, 2021 at 12:36 AM Vivek Goyal <vgoyal@redhat.com> wrote:
>
> fuse has an option FUSE_POSIX_ACL which needs to be opted in by fuse
> server to enable posix acls.
>
> Add virtiofsd option "-o posix_acl/no_posix_acl" to let users enable/disable
> posix acl support. By default it is disabled as of now.
If I read the code correctly, then no_posix_acl will still result in
system.posix_acl_* xattr ops being passed through to virtiofsd, which
will forward them to the underlying fs, resulting in posix acls
appearing to work, but doing so incorrectly (i.e. no change from
previous behavior). Possibly better would be to have three different
modes of operation:
1) no option: default fall back to broken acl support for backward
compat (this could be removed in the future)
2) no_posix_acl: really disable acl support
3) posix_acl: enable proper acl support
Thanks,
Miklos
- [PATCH 0/3] virtiofsd: Add options to enable/disable posix acl, Vivek Goyal, 2021/02/16
- [PATCH 2/3] virtiofsd: Add umask to seccom allow list, Vivek Goyal, 2021/02/16
- [PATCH 3/3] virtiofsd: Change umask if posix acls are enabled, Vivek Goyal, 2021/02/16
- Re: [PATCH 0/3] virtiofsd: Add options to enable/disable posix acl, no-reply, 2021/02/16
- Re: [PATCH 0/3] virtiofsd: Add options to enable/disable posix acl, Luis Henriques, 2021/02/17