WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: mount permissions  (Read 2995 times)

Offline dentonlt

  • Sr. Member
  • ****
  • Posts: 318
    • the trombone analog
mount permissions
« 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)?
 
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.

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: mount permissions
« Reply #1 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.
10+ Years Contributing to Linux Open Source Projects.