I wanted to modify my mount options for my NTFS external HDD so that I can execute programs on it. I added the following line to my fstab accordingly:
UUID=CE665A3F665A290B /media/Josh ntfs-3g defaults,users,nofail 0 0
But when I plug in my external and I get this error:
Error mounting: mount exited with exit code 1: helper failed with:
Error opening '/dev/sdb1': Permission denied
Failed to mount '/dev/sdb1': Permission denied
Please check '/dev/sdb1' and the ntfs-3g binary permissions, and the mounting user ID. More explanation is provided at http://tuxera.com/community/ntfs-3g-faq/#unprivileged.
Soo I go to the URL provided. It says:
Unprivileged block device mounts work only if all the below requirements are met:
- ntfs-3g is compiled with integrated FUSE support
- the ntfs-3g binary is at least version 1.2506
- the ntfs-3g binary is set to setuid-root
- the user has access right to the volume
- the user has access right to the mount point
I believe I have all 5 requirements met (though obviously not, since I'm getting that error). Anyone have some tips? In particular, I have:
- ntfs-3g 2014.2.15 integrated FUSE 27
- ntfs-3g 2014.2.15 integrated FUSE 27
- -rwsr-xr-x 1 root root 504887 Mar 8 12:06 /bin/ntfs-3g*
- brw-rw---- 1 root disk 8, 17 Mar 8 16:43 /dev/sdb1 (my user is in the "disk" group)
- drwxrwxrwx 2 josh josh 4096 Mar 8 12:42 Josh/
Been struggling with this for hours. This link has been the most helpful so far, but notably the last post has my same question and is unanswered.
Thanks!
dmesg? Are you running anymountcommands or is this happening automatically when you pluf the drive in? – terdon Mar 08 '14 at 21:58/media/Joshexist? What are the permissions? Add the output of just runningntfs-3gin the terminal. – Braiam Mar 08 '14 at 23:18ntfs-36tontfsin thefstab? I don't think that would give that error but it's worth a shot. Also, please show the output ofls -ld /media /media/Joshto make sure that both directories have the right permissions. – terdon Mar 08 '14 at 23:18