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. |
|
 |
11-25-2004, 12:27 AM
|
#1
|
|
Member
Registered: Nov 2004
Distribution: fedora core 3
Posts: 43
Rep:
|
ntfs access denied
i recently installed fc3 and i have 2 ntfs partitons that i need mounted. i installed kernel-ntfs and i could access them, but i edited /etc/fstab so that they would mount on startup and it denies me permissions unless i am root. my fstab looks like this:
/dev/hdd1 /mnt/server vfat defaults,user,owner,umask=000 0 0
/dev/hdd2 /mnt/ntfs ntfs defaults,user,owner,ro 0 0
/dev/hda1 /mnt/win ntfs defaults,user,owner,ro 0 0
the first is one that works, but as you can see it is a vfat partiton. thanks
|
|
|
|
11-25-2004, 01:36 AM
|
#2
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
Well it also works because of the umask, set that in the ntfs bits as well, also, I'd remove 'defaults' and supply your own args as you have.
Cool
|
|
|
|
11-25-2004, 01:25 PM
|
#3
|
|
Member
Registered: Apr 2003
Distribution: Fedora Core 4
Posts: 34
Rep:
|
I've got the same problem
I've got the same problem as tenmiles. Here's my fstab entry:
/dev/hdh1 /NTFS ntfs ro,uid=leminhtriet,gid=leminhtriet,umask=0377 0 0
The partition is automounted on startup. However, i can't access it as any other user besides root. I've tried different combinations of umask but didn't help.
Any suggestions would be appreciated.
Thanks.
|
|
|
|
11-26-2004, 12:58 AM
|
#4
|
|
Member
Registered: Nov 2004
Distribution: fedora core 3
Posts: 43
Original Poster
Rep:
|
triet, the 3 in ur umask will take away the ability to execute and my handy dandy linux+ prep book (which i use to learn from) says that if you want to access the partiton then u need to have read and execute. all i had to do was add the umask and it worked fine.
|
|
|
|
11-26-2004, 04:01 AM
|
#5
|
|
Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,611
Rep:
|
Take away that preceding 0 as well, as that's your setuid, meaning, who owns the files, we don't want to stake claim, simply give permission. Three digits should suffice.
Cool
|
|
|
|
| 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 03:58 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
|
|