Click to See Complete Forum and Search --> : user access to a ntfs partition


Legithrandil
04-12-2004, 12:08 PM
i just set up slack 9 on my cousin's computer. i resized his ntfs partition in order to make enough room for the install. the problem is, i can't get user access to the ntfs partition with all of his files on it. i can access it from root without a problem, but normal user cannot. here is /etc/fstab:

/dev/hda6 swap swap defaults 0 0
/dev/hda5 / ext3 defaults 1 1
/dev/hda7 /usr ext3 defaults 1 2
/dev/hda8 /home ext3 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,user,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,user,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
/dev/hda1 /mnt/hd ntfs noauto,defaults,user 1 1

is something here the problem, or did i set the permissions wrong elsewhere?

scinerd
04-12-2004, 12:34 PM
I had the same problem but with a share. I mounted as root but with the uid of my normal user account so I could save files to it. This is from the mount man page:

uid=value and gid=value
Set the owner and group of all files. (Default: the uid and gid
of the current process.)

Dark Ninja
04-12-2004, 12:35 PM
/dev/hda1 /mnt/hd ntfs noauto,defaults,user 1 1

Try this instead...

/dev/hda1 /mnt/hd ntfs noauto,ro,gid=users 0 0


Please note, "users" is the group name that the normal user belongs to on the system. (user, users, whatever...) Give that a shot. Also, check out this link for more help:

http://linux-ntfs.sourceforge.net/info/ntfs.html

mdwatts
04-12-2004, 12:43 PM
And searching the JL forums for 'mount ntfs permission' will find you lots of previous threads on the same subject. You will find two from just a couple of days ago.

hard candy
04-12-2004, 12:50 PM
ntfs (http://linux-ntfs.sourceforge.net/info/ntfs.html)

Probably has more than you need to know but a good site for reference.
Sections 4-6 - 4-9 are particularly pertinent.