[plug] How do I execute mount as user?

Mike Holland michael.holland at gmail.com
Tue Apr 8 07:46:01 WST 2008


Jim Householder wrote:

>>>  I've tried  "chmod +s /bin/mount" with no success.

You mean "u+s", but if you looked you'd see it already has SUID permission.

>> Try the "user" option in the fstab line for that mount.

Which is why is needs suid, BTW.

> Thanks.  It works, but I was hoping to be able to mount an arbitrary
> partition without an entry in fstab.

Thats what sudo is for. Or su.




More information about the plug mailing list