2 ms·
macOS and other non-Windows machines sudo ./rssfs Just what I always wanted; an RSS reader running as root. /s Why are you using sudo here? FUSE filesystem
by pengaru 7y ago
macOS and other non-Windows machines
sudo ./rssfs
Just what I always wanted; an RSS reader running as root. /s
Why are you using sudo here? FUSE filesystems shouldn't require special privileges unless they're accessing privileged stuff like block devices owned by root.
- totony 7y agoIirc, fuse is setuid anyways. Having mount privilege is equivalent to being root on linux.
- pengaru 7y 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 7y 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)
- rhabarba 7y agoYou’re right, that would probably not be required.