You are not logged in.
Hi all, I have an external USB hard drive with 2 NTFS partitions on it. I want it to be automounted when hotplugined.
The partitions are able to be recognized by the system and icons would show up on the desktop when I plug it in. However when I try to open it, a message saying "You are not privileged to mount volume xxx" appeared and I cannot see the contents.
I can manually mount the partitions as root, but it is too inconvenient.
I am a member of the 'storage' group, and I'm sure of it. USB sticks with vfat filesystem works fine.
(BTW these partitions are not in the list of /etc/fstab file, does this matter?)
I have read the HAL wiki page, and in the section of NTFS, ntfs-3g is employed but I have no requirement to write NTFS partitions so I DO NOT want to install ntfs-3g. What I need is the right of READ ONLY. The NTFS partitions on the internal hardrive works perfect without ntfs-3g.(by adding them into the /etc/fstab file)
Any suggestion would be appreciated.
Last edited by edmondchang (2009-01-17 07:44:38)
Offline
I'd try to add entry to fstab with all "uid=1000,gid=100,fmask=0113,dmask=0002" stuff
Offline
Why no ntfs-3g? It is by far the best driver around, even for read-only.
Offline
I'd try to add entry to fstab with all "uid=1000,gid=100,fmask=0113,dmask=0002" stuff
I have added entries in fstab. Here it is.
UUID=547fdad0-ec45-4d95-9247-fb1460c119ad /home reiserfs defaults 0 1
UUID=c13545cd-db5a-41e8-953a-358c2f0b4c8d swap swap defaults 0 0
UUID=eefcf826-b131-4141-8082-7ec1f67cf95e / reiserfs defaults 0 1
/dev/sda1 /mnt/Zeus ntfs auto,ro,uid=1000,dmask=027,fmask=337,nls=utf8 0 0
/dev/sda5 /mnt/Hades ntfs auto,ro,uid=1000,dmask=027,fmask=337,nls=utf8 0 0
/dev/sda6 /mnt/Apollo ntfs auto,ro,uid=1000,dmask=027,fmask=337,nls=utf8 0 0
LABEL=Athena /mnt/Athena ntfs auto,ro,uid=1000,dmask=027,fmask=337,nls=utf8 0 0
LABEL=Artemis /mnt/Artemis ntfs auto,ro,uid=1000,dmask=027,fmask=337,nls=utf8 0 0
As you see, I have two NTFS partitions on my first hardive(internal), there's no permission problem for them at all. But removable hardrive doesn't work, I have to manually mount them by "sudo mount -a" as superuser which is too inconvenient.
Offline
Why no ntfs-3g? It is by far the best driver around, even for read-only.
To be honest I am quite a newbie, and those two NTFS partitions are very important to me, I'm not quite sure about ntfs-3g and no need to write. Last choice if I can't solve this.
Offline
Try to add "user" to your removable devices options, for example "auto,ro,uid=1000,user,...". It permits any user to mount the filesystem.
Offline
Try to add "user" to your removable devices options, for example "auto,ro,uid=1000,user,...". It permits any user to mount the filesystem.
Still saying "You are not privileged to mount volume xxx"...
any other suggestion?
Last edited by edmondchang (2009-01-18 15:35:28)
Offline
What DE/filemanager are you using? and how do you start X (startx/GDM/KDM etc)?
Also, you could try the Hal policy file in the wiki but just change 'ntfs-3g' to 'ntfs', you'll need to remove the entries from fstab before you try that though.
Offline
What DE/filemanager are you using? and how do you start X (startx/GDM/KDM etc)?
Also, you could try the Hal policy file in the wiki but just change 'ntfs-3g' to 'ntfs', you'll need to remove the entries from fstab before you try that though.
I'm using Xfce4, Thunar. I start X with 'startx' after I login under console mode.
I've tried the HAL policy method and removed entries of fstab, this time I could mount the volume but could not access it. The Error message is "Fail to open the directory. Permission Denied.".
Here's the result of 'mount' command after I plugin the external disk in.
[edmond@Arch ~]$ mount
/dev/sda7 on / type reiserfs (rw)
none on /dev type ramfs (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda8 on /home type reiserfs (rw)
/dev/sda1 on /mnt/Zeus type ntfs (ro,uid=1000,dmask=027,fmask=337,nls=utf8)
/dev/sda5 on /mnt/Hades type ntfs (ro,uid=1000,dmask=027,fmask=337,nls=utf8)
/dev/sda6 on /mnt/Apollo type ntfs (ro,uid=1000,dmask=027,fmask=337,nls=utf8)
/dev/sdb5 on /media/Athena type ntfs (rw,nosuid,nodev)
/dev/sdb6 on /media/Artemis type ntfs (rw,nosuid,nodev)
Last edited by edmondchang (2009-01-19 05:46:41)
Offline
What versions of thunar/hal/exo do you have? There seems to be an open bug that sounds similar to your issue (here)
Offline
What versions of thunar/hal/exo do you have? There seems to be an open bug that sounds similar to your issue (here)
hal 0.5.11-4
thunar 0.9.3
exo 0.3.4-3
I've checked that bug page, but my CD mounting works fine.
Last edited by edmondchang (2009-01-26 14:10:17)
Offline