Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: dentonlt on February 22, 2009, 02:45:00 AM

Title: mount permissions
Post by: dentonlt on February 22, 2009, 02:45:00 AM
Mount requires superuser, even if /etc/fstab says a file system can be mounted by any user (option 'users').

Maybe this was intentional?
Maybe this snuck in when mount changed in 1.1 (http://forum.tinycorelinux.net/index.php?topic=597.msg3632#msg3632 (http://forum.tinycorelinux.net/index.php?topic=597.msg3632#msg3632))?
 
My own fix is via:

chmod a+s /bin/mount
chmod a+s /bin/umount

Still obeys fstab, but allows users to run mount at CLI.
Title: Re: mount permissions
Post by: roberts on February 24, 2009, 07:03:46 PM
Perhaps you are using and extension or remaster?
umount in the base is a busybox applet so doing chmod a+s is making busybox superuser.