SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hey, I've got an external hard drive that I'd like to be able to mount and unmount as a normal user. It mounts fine as root, and I can unmount as a user, but when I try mounting as a user it gives me this:
$ mount /mnt/ehdd
Error opening partition device: Permission denied
Failed to startup volume: Permission denied
Failed to mount '/dev/sdb1': Permission denied
I've tried the 'user' and 'users' options in /etc/fstab, but it doesn't seem to work. Just for kicks, here's my fstab:
Hey, I've got an external hard drive that I'd like to be able to mount and unmount as a normal user. It mounts fine as root, and I can unmount as a user, but when I try mounting as a user it gives me this:
$ mount /mnt/ehdd
Error opening partition device: Permission denied
Failed to startup volume: Permission denied
Failed to mount '/dev/sdb1': Permission denied
I've tried the 'user' and 'users' options in /etc/fstab, but it doesn't seem to work. Just for kicks, here's my fstab:
Yes! It worked. I just had to set the ntfs-3g binary to setuid-root. I'm still not entirely sure what that means, though. Does having the setuid flag set make the binary run with permissions of the owner of the file, no matter who executes it? That seems kinda scary. But oh well. It works! thanks a lot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.