UsrMove feature
Björn Persson
bjorn at xn--rombobjrn-67a.se
Tue Oct 25 23:11:45 UTC 2011
Jeffrey Ollie wrote:
> 2011/10/25 Björn Persson <bjorn at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20111026/6eda8526/attachment.bin
More information about the devel
mailing list