You are not logged in.

#1 2007-12-11 22:57:27

fluxme
Member
Registered: 2007-12-05
Posts: 36

How do I access an NTFS-filesystem without root priveledges?

Hello,
I have a large NTFS-partition at my HDD with XP, but also alot of music, pictures and documents that I would like to access from Archlinux.
In Ubuntu, all the partitions are listed under computer. In Kubuntu, they are listed under storage media.
I couldn't find something similar in Arch, perhaps I didn't look hard enough...
Anyway, I figured I'd go ahead and mount the NTFS-partition via fstab, which I got to work, first try and all. I mounted it to /media/win_c , but unfortunately I'm not able to access it without logging in to root or using sudo.
I'm guessing I can't access the partition since it's mounted within the the Filesystem, which only root has access too. But then again I'm not so experienced with Linux, so I wanted to ask here first before messing around with the fstab too much.

Kind Regards,

Fluxme.

Offline

#2 2007-12-11 23:06:56

somedrew
Member
From: Canada
Registered: 2007-05-14
Posts: 140

Re: How do I access an NTFS-filesystem without root priveledges?

If you're using the native kernel NTFS support: appending 'user' to the fstab entry for the partition should do the trick. Looking into pmount might be worthwhile as well.
cheers,

Last edited by somedrew (2007-12-11 23:07:32)

Offline

#3 2007-12-12 02:17:46

fluxme
Member
Registered: 2007-12-05
Posts: 36

Re: How do I access an NTFS-filesystem without root priveledges?

I installed the ntfs-3g package. Will the same trick still work?
Unfortunately I don't know so much about pmount. Tried a man pmount, but didn't get anything. A google search however told me that pmount would let normal users mount devices that were not described in fstab.
But I really have no idea how to configure it. A kick in the right direction would be much appreciated.

But thanks for the tip. I'll try to learn some more about pmount in the meanwhile smile

Fluxme

Offline

#4 2007-12-12 02:23:08

Sacro
Member
Registered: 2007-06-27
Posts: 10

Re: How do I access an NTFS-filesystem without root priveledges?

-o umask=022, or whatever suits you.

Offline

#5 2007-12-12 04:51:07

fluxme
Member
Registered: 2007-12-05
Posts: 36

Re: How do I access an NTFS-filesystem without root priveledges?

thanks smile
I set fstab to:
"/dev/sda /media/sda1 ntfs user,umask=022 0 1"
and it works now. By the way, is it necessary to include both the "user"- and the "umask=022"-options in the fstab-file?

Edit: I asked a little too soon. Tried it out myself and apparently the "user"-option alone isn't enough to grant me permission as a normal user.

Last edited by fluxme (2007-12-12 04:57:54)

Offline

Board footer

Powered by FluxBB