View previous topic :: View next topic |
Author |
Message |
peterxx n00b
Joined: 10 Aug 2004 Posts: 41
|
Posted: Fri Aug 13, 2004 11:23 am Post subject: Accessing a NTFS (user) |
|
|
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 |
|
|
gnuageux Veteran
Joined: 17 Apr 2004 Posts: 1201
|
Posted: Fri Aug 13, 2004 11:29 am Post subject: |
|
|
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 |
|
|
mattjgalloway l33t
Joined: 16 Mar 2004 Posts: 761 Location: Coventry, UK
|
Posted: Fri Aug 13, 2004 11:35 am Post subject: |
|
|
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 |
|
|
peterxx n00b
Joined: 10 Aug 2004 Posts: 41
|
Posted: Sun Aug 15, 2004 7:58 am Post subject: SOLVED |
|
|
Thank you guys, I solved the problem!!
I just put:
Code: | chown user -R /mnt/win2 |
now it works!! |
|
Back to top |
|
|
|