Jeffrey Ollie wrote:
2011/10/25 Björn Persson <bjorn(a)xn--rombobjrn-67a.se>:
> It's particularly odd that I can use /sbin/mkfs to make a disk image
> without privileges, but /bin/mount won't mount it even if I own both the
> image and the mount point.
You could create a setuid-root executable on the disk image and then mount
There's -o nosuid for that, but that wasn't my point. The context is the
distinction between bin and sbin. If mkfs belongs in /sbin, why is mount in
/bin? If mount belongs in /bin, why is mkfs in /sbin?