3 ms·
Iirc, fuse is setuid anyways. Having mount privilege is equivalent to being root on linux.
by totony 6y ago
Iirc, fuse is setuid anyways. Having mount privilege is equivalent to being root on linux.
- pengaru 6y agoThere's no such thing as a `fuse` system executable on linux. There is `fusermount` which is indeed suid (so is `mount` btw), but it's also been designed to accommodate unprivileged FUSE mounts and always adds 'nosuid' and 'nodev' mount options when establishing them. It's not equivalent to being root at all. https://www.kernel.org/doc/html/latest/filesystems/fuse.html#how-do-non-privileged-mounts-work https://www.kernel.org/doc/html/latest/filesystems/fuse.html...
- totony 6y agoThat's fair. Unfamiliar about how this works, since ntfs-3g seems to drop root after mounting. I would still not be comfortable about giving mount permissions to ordinary users (even through a setuid layer since they're known to cause security issues)