Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Permissions problem with NTFS [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dtjohnst
Apprentice
Apprentice


Joined: 23 Apr 2006
Posts: 178

PostPosted: Wed May 17, 2006 7:30 am    Post subject: Permissions problem with NTFS [SOLVED] Reply with quote

Ok, this is apparently a common problem, I've read about 40 threads on the subject, all of them contain the SAME advice/solutions and end with no word on whether the problem was resolved or not.

Well.......the solutions don't resolve it for me.

I can mount and access an NTFS drive if I'm root (ro, but that's all I want, I don't need to write). it mounts fine when I log in as non-root. The problem is, as non-root, I can't access it. It mounts, but when I try to view the contents I get:

Code:
"Error displaying folder.

The folder contents could not be displayed.

You do not have the permissions necessary
to view the contents of "ntfs"."


(the mount point is mnt/ntfs by the way, and the error is a pop-up window because I'm using GNOME.

I've tried many different things in my fstab. Here are the things I've tried.

/dev/hda5 /mnt/ntfs ntfs users,uid=1000,gid=100,umask=0222 0 0
/dev/hda5 /mnt/ntfs ntfs users,uid=1000,gid=100,umask=0000 0 0
/dev/hda5 /mnt/ntfs ntfs users,umask=0222 0 0
/dev/hda5 /mnt/ntfs ntfs users,umask=0000 0 0
/dev/hda5 /mnt/ntfs ntfs uid=1000,gid=100,umask=0222 0 0
/dev/hda5 /mnt/ntfs ntfs uid=1000,gid=100,umask=0000 0 0
/dev/hda5 /mnt/ntfs ntfs users,umask=0222 0 0
/dev/hda5 /mnt/ntfs ntfs users,umask=0222 0 0
/dev/hda5 /mnt/ntfs ntfs users,ro 0 0
/dev/hda5 /mnt/ntfs ntfs ,ro 0 0

Now, no matter what I try, the folder remains owned by root user and root group, and permissions remain rx for owner and blank for group and world. In other words, uid, gid and umask are having 0 effect. If I log in as root, with any of the above options set, I can access and read data from /mnt/ntfs just fine and dandy. Somewhere, somehow there has to be a solution to this problem. The permissions should take effect somehow. I'm obviously missing something, problem something equally obvious. Can anyone fill me in?


Last edited by dtjohnst on Wed May 17, 2006 11:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
mirojira
l33t
l33t


Joined: 18 Feb 2006
Posts: 685

PostPosted: Wed May 17, 2006 8:06 am    Post subject: Reply with quote

Code:
 
/dev/sda5               /mnt/ntfs          ntfs    user,ro,umask=0133,dmask=000            0 0


It works for me.
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Wed May 17, 2006 11:36 am    Post subject: Reply with quote

your user might need access to the mount point before it is mounted
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
dtjohnst
Apprentice
Apprentice


Joined: 23 Apr 2006
Posts: 178

PostPosted: Wed May 17, 2006 11:33 pm    Post subject: Reply with quote

mirojira wrote:
Code:
 
/dev/sda5               /mnt/ntfs          ntfs    user,ro,umask=0133,dmask=000            0 0


It works for me.


Me too. dmask did the trisk it seems, thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum