pmounting ntfs-3g

Discussions Regarding Software

Moderator: Moderators

pmounting ntfs-3g

Postby kasster » Mon Aug 13, 2007 18:38

I am using Sabayon 3.4a, which I think is the most fantastic linux distro I have ever seen.

I want to be able to mount a ntfs drive as read write as a normal user.

*I realize I could make an fstab /dev/sdb1 entry using ntfs-3g, but I don't necessarily want the drive to appear automatically every time for everyone who logs on (I suppose I could assign group permissions, but this seems a little inelegant).

*I also realize this has the same result as (in KDE) clicking the MENU/Computer/ media entry for the disk, but I want to use automatic logon script for particular users.


pmount would seem to do the job, except I can't seem to get it to work with ntfs-3g.

as root: mount -t ntfs-3g /dev/sdb1 /mountpoint works fine (of course I have to have permissions to use mount and also to create /mountpoint)

as user: pmount -t ntfs /dev/sdb1 NTFSDisk works (note not ntfs-3g), but there are no write permissions (even when trying to force the permissions)
as user: pmount-hal /dev/sdb1 has the same result
(both mount the filesystem as ntfs)

as user: pmount -t ntfs-3g ..etc does not work as the ntfs-3g filesystem is not recognized.
as user: pmount-hal /dev/sdb1 -t ntfs-3g gets the same error (filesystem not recognized).

using the -d option for pmount, it looks like mount -t is called, so why doesn't it work when the mount -t ntfs-3g seems to work fine?

I have tried editing /usr/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi and adding an entry for ntfs-3g (by copying the ntfs entry and changing all instances of ntfs to ntfs-3g) with no joy.


This is becoming a small obsession, I know there may be easier/better ways, but I'd really like to understand this problem.


Has anyone any suggestions?

Thanks
kasster
Baby Hen
 
Posts: 1
Joined: Mon Aug 13, 2007 18:07

Return to Software in General

Who is online

Users browsing this forum: No registered users and 2 guests

cron