Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
11-24-2005, 06:02 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2005
Distribution: CRUX
Posts: 16
Rep:
|
can't access ntfs partition as normal user
i have an ntfs partition on /dev/hda1, but when i mount it as normal user i cant read anything from it
there is no problem when mounting and accessing fat partition on /dev/hda5
here is two line from my /etc/fstab
/dev/hda1 /mnt/hda1 ntfs ro,user 0 0
/dev/hda5 /mnt/hda5 vfat rw,user,umask=133 0 0
|
|
|
|
11-24-2005, 06:22 AM
|
#2
|
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE 12
Posts: 3,511
Rep:
|
Try the umask parameter (e.g. umask=000) for the ntfs partition as well. Also check the permission of the mountpoint (/mnt/hda1).
|
|
|
|
11-24-2005, 06:35 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2005
Distribution: CRUX
Posts: 16
Original Poster
Rep:
|
i dont think the usmak can solve the problem
but here is information about permission:
/dev/hda1
owner: root
group: disk
chmod:660
/dev/hda5
owner: root
group: disk
chmod:660
/mnt/hda1
owner: root
group: disk
chmod: 660
/mnt/hda5
owner: root
group: disk
chmod: 660
when i mount the /dev/hda1 i notice that the permission
of the /mnt/hda1 changed to:
/mnt/hda1
owner: root
group: root
chmod: 600
note: the normal user account is a member of 'disk' group
|
|
|
|
11-24-2005, 07:10 AM
|
#4
|
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE 12
Posts: 3,511
Rep:
|
Why don't you think umask will help? I am willing to learn!
From what I know it controls the default permissions on the mounted filesystem and this is what goes wrong here. You can also try to set gid=disk, but with these permissions set, the group still does not have access.
But maybe I am wrong.
|
|
|
|
11-26-2005, 07:03 AM
|
#5
|
|
LQ Newbie
Registered: Mar 2005
Distribution: CRUX
Posts: 16
Original Poster
Rep:
|
because i've tried it...
and from what i read it will change the default permission of all files on the mounted directory NOT the mounted directory itself
hmmm, i think i'll read more on man pages carefully
|
|
|
|
11-26-2005, 07:09 AM
|
#6
|
|
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522
Rep:
|
/dev/hda2 /mnt/windows ntfs user,umask=000
that's my line in Fstab, i can read from both root/normal user.
|
|
|
|
11-26-2005, 08:09 AM
|
#7
|
|
LQ Newbie
Registered: Mar 2005
Distribution: CRUX
Posts: 16
Original Poster
Rep:
|
well, i think i found the solution, it is still related to umask (sorry to abisko00 for saying that wouldn't solve the problem  )
i must enter the umask four digit to get it work correctly like what i want
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:47 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|