LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   No user access to ntfs disk? (https://www.linuxquestions.org/questions/linux-newbie-8/no-user-access-to-ntfs-disk-177625/)

kam_kenneth 05-04-2004 02:28 AM

No user access to ntfs disk?
 
Hi all.

I want to be able to view the contents of my mounted drive in /mnt/windows with users other than root. So far I have been denied access. I have tried to change the group ownership (ken in group windows) and still access denied. Is there anyway to fix this?

Demonbane 05-04-2004 02:46 AM

Try mounting with the option "umask=0"

Grymme 05-04-2004 03:11 AM

If you want a group to own the ntfs-disk then you need to pass a gid=xxx when you mount it.

I have done this in my /etc/fstab so it loads the ntfs-disk on startup. You simply put the gid=xxx among the comma-separated mountoptions in fstab on the line with the ntfs-device if this is what you want...

Of course you should have a nice number that corresponds to your group instead of xxx which you can look up in /etc/group

You might also want to pass auto and ro with the gid-option. Last time (pretty recent) I heard the ntfs drivers were buggy when it comes to writing but does fine reading. In the worst case you could mess up the whole ntfs-partition writing to it.

kam_kenneth 05-04-2004 05:08 AM

ok, i will try both of those options :)

i have no intention in trying to write to ntfs :) I heard thats the other way to format your harddrive :D

kam_kenneth 05-04-2004 07:52 AM

> <

i cant get it to work. This is the problem. When i mount the RO NTFS, i can't change the permissions. Is there a way to change this? I can't change it because its RO

Grymme 05-04-2004 09:30 AM

hm, add a umask=022 after the gid=xxx in the fstab

This should set the permissions to r and x

kam_kenneth 05-05-2004 02:50 AM

ok, i will try that :)


All times are GMT -5. The time now is 10:31 AM.