Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Accessing a NTFS (user)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
peterxx
n00b
n00b


Joined: 10 Aug 2004
Posts: 41

PostPosted: Fri Aug 13, 2004 11:23 am    Post subject: Accessing a NTFS (user) Reply with quote

Hey,

I created an user account successfully (group: users, wheel,audio) and found no problem using it, till when I tried to mount a NTFS partition!

In my etc/fstab I configured user permission to mount partition!

Code:
/dev/hda2      /mnt/win2      auto      noauto,user ......


Mounting succedded, but I can NOT access the mount point, cause I dont have a permission to access it.... Where can I setup this permission?

Code:
qwe@stealth qwe $ mount /mnt/win2
qwe@stealth qwe $ cd /mnt/win2
bash: cd: /mnt/win2: Permission denied
qwe@stealth qwe $



THANKS for any replies!!
Back to top
View user's profile Send private message
gnuageux
Veteran
Veteran


Joined: 17 Apr 2004
Posts: 1201

PostPosted: Fri Aug 13, 2004 11:29 am    Post subject: Reply with quote

Does your user own /mnt/win2? Did you create it with root then forget to chown -R ?
_________________
The realOTW: http://forums.realotw.org/index.php

Registered Linux user#364538
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Fri Aug 13, 2004 11:35 am    Post subject: Reply with quote

You need the umask command on the fstab line also.

I cannot remember exactly now, but it'd be umask=0777 or something like that. Also you can set the owner and group IDs on that line too
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
peterxx
n00b
n00b


Joined: 10 Aug 2004
Posts: 41

PostPosted: Sun Aug 15, 2004 7:58 am    Post subject: SOLVED Reply with quote

Thank you guys, I solved the problem!!
I just put:

Code:
chown user -R /mnt/win2


now it works!! :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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