29.08.2024 13:21, Miklos Szeredi пишет:
On Thu, 29 Aug 2024 at 12:16, stsp <stsp2@xxxxxxxxx> wrote:
29.08.2024 13:07, Miklos Szeredi пишет:
Just one note: "allow_other" doesn't require root, it just requires
ability create a new mount.
The root is needed to edit /etc/fuse.conf and enable
"user_allow_other".
No, it isn't:
$ ./passthrough -oallow_other ~/mnt
fusermount3: option allow_other only allowed if 'user_allow_other' is
set in /etc/fuse.conf
$ unshare -rUm
# ./passthrough -oallow_other ~/mnt
You still need root to do this:
sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0