Jeffrey Ollie wrote:
> 2011/10/25 Björn Persson <bj...@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
> it.

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?

Björn Persson

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to