LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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



Reply
 
Search this Thread
Old 11-25-2004, 01:27 AM   #1
tenmiles
Member
 
Registered: Nov 2004
Distribution: fedora core 3
Posts: 43

Rep: Reputation: 15
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
 
Old 11-25-2004, 02:36 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 11-25-2004, 02:25 PM   #3
triet
Member
 
Registered: Apr 2003
Distribution: Fedora Core 4
Posts: 34

Rep: Reputation: 15
Question 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.
 
Old 11-26-2004, 01:58 AM   #4
tenmiles
Member
 
Registered: Nov 2004
Distribution: fedora core 3
Posts: 43

Original Poster
Rep: Reputation: 15
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.
 
Old 11-26-2004, 05:01 AM   #5
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
  


Reply

Tags
ntfs, permissions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Denied aje Linux - Newbie 7 10-18-2004 09:48 PM
Access denied?? Jaster Linux - Software 9 07-25-2004 08:42 PM
access denied crossfire_mania Linux - Software 2 01-28-2004 08:14 PM
Captive NTFS -- full r/w ntfs access for Linux spurious Linux - Software 6 01-09-2004 01:29 AM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 03:30 AM


All times are GMT -5. The time now is 08:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration