I have been following the arch wiki.
I tried to do this without HAL but now I added HAL as the wiki said but still no mounting as user.
DAEMONS in rc.conf:
Quote:
DAEMONS=(syslog-ng acpid dbus hal cpufreq !network netfs crond ufw wicd)
|
The user is in the storage,optical,HAL groups.
Now a question, Everyone seems to direct me to how to get rw permissions on the mounted ntfs partition, I can't mount it to begin with.
If I mount it with root then everything is fine and I even have rw permissions as a normal user, I just can't mount it as a normal user :
Quote:
[mas ~]$ mount /dev/disk/by-id/usb-Hitachi_HTS543232L9A300_9002555dd84a21024b000000-0:0-part1
Unprivileged user can not mount NTFS block devices using the external FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://ntfs-3g.org/support.html#unprivileged
|
fstab should allow me to have rw permissions as a normal user:
Quote:
/dev/disk/by-id/usb-Hitachi_HTS543232L9A300_9002555dd84a21024b000000-0:0-part1 /media/EXT ntfs user,rw,uid=mas,gid=users,noauto 0 0
|
I can however mount other filesystems with a normal user with the same setup in fstab.
Also I should have mentioned earlier that I am not using any file manager rather I am doing this in a terminal.
alan99:
I tried setting /bin/ntfs-3g (/usr/bin/ntfs-3g doesn't exist) as set-uid and now as a normal user I get :
Quote:
Mount is denied because setuid and setgid root ntfs-3g is insecure with the
external FUSE library. Either remove the setuid/setgid bit from the binary
or rebuild NTFS-3G with integrated FUSE support and make it setuid root.
Please see more information at http://ntfs-3g.org/support.html#unprivileged
|
I don't know how to rebuild NTFS-3G with integrated FUSE support since I am installing it from the package manager pacman, it installed fuse as a dependency for NTFS-3G.