LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2003, 07:35 AM   #1
mannnetobbelob
LQ Newbie
 
Registered: Jan 2003
Posts: 11

Rep: Reputation: 0
why doesnt i have any access to my ntfs partition as user?


i can only reach my ntfs partition with root and not my user.
i have redhat 8.0 and i have mounted the ntfs partition.
 
Old 01-16-2003, 07:41 AM   #2
ajk
Member
 
Registered: Nov 2002
Location: CH-3416 Affoltern
Distribution: (SuSE 8.0), Mandrake 9.2
Posts: 58

Rep: Reputation: 15
read thread "changing permissions of a command"

how do you mount?
 
Old 01-17-2003, 08:42 AM   #3
JoC
Member
 
Registered: Dec 2002
Location: Kitchener, ontario , can
Distribution: RedHat 8.0
Posts: 44

Rep: Reputation: 15
HA HA HA HA HA HA!!!!!!!


sorry but i had to laugh!! AJK i love your comparison of linux to a tipi!!!
 
Old 01-17-2003, 09:09 AM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Yeah, I really liked that too!

You'll need to either mount it with user permissions (the hard way) or edit your /etc/fstab entry to allow users to browse/mount the drive. You'll want it to look something like:
/dev/hdX /mnt/ntfs ntfs users,owner,umask=222,ro 0 0

I always throw in several to show ideas, but they will work. However, you should read up on the manpage for mount for more information regarding the "options" section of /etc/fstab.

Cool
 
Old 01-20-2003, 10:06 AM   #5
macshark
LQ Newbie
 
Registered: Dec 2002
Posts: 18

Rep: Reputation: 0
i tried that line of code you wrote,

/dev/hda5 /mnt/windows ntfs user,owner,umask=222,ro 0 0

i am still unable to access the mounted partition, shoots out the message, "not enough permissions to read /mnt/windows"

i thought the keyword "user" would allow any user to read all the contents in that mounted parition.
 
Old 01-20-2003, 12:39 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Try "users" instead of "user" See if that helps any.

Cool
 
Old 01-20-2003, 03:22 PM   #7
macshark
LQ Newbie
 
Registered: Dec 2002
Posts: 18

Rep: Reputation: 0
nope, still unable to access the partition, "not enough permissions to read"
 
Old 01-20-2003, 03:41 PM   #8
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
hmmm...

Who's mounting it? If you mount it as your user you should be able to get in. Try mounting it with (as a regular user):
mount /mnt/windows

And then try getting in. If you still can't, maybe it's a problem on the directory on which it is mounted. Try:
chmod 755 /mnt/windows (as root)
Then try entering again.

Cool
 
Old 01-20-2003, 03:56 PM   #9
macshark
LQ Newbie
 
Registered: Dec 2002
Posts: 18

Rep: Reputation: 0
it is automatically on boot.

tried
chmod 755 /mnt/windows

i am able to access the partition, but permission was denied to "ls"" the contents at the command line.

was unable to access the partition from konqueror too. same message "not enough permissions"

thks for your quick response.

Quote:
Originally posted by MasterC
hmmm...

Who's mounting it? If you mount it as your user you should be able to get in. Try mounting it with (as a regular user):
mount /mnt/windows

And then try getting in. If you still can't, maybe it's a problem on the directory on which it is mounted. Try:
chmod 755 /mnt/windows (as root)
Then try entering again.

Cool
 
Old 01-20-2003, 05:16 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Are you able to get in there with root though? If root can get in, then we can look further, but if root's not even getting in, then there's a problem either with the device, or with the entry in /etc/fstab.

Cool
 
Old 01-20-2003, 06:23 PM   #11
android1654
Member
 
Registered: Jan 2003
Location: Baltimore
Distribution: Slackware,peanut linux
Posts: 30

Rep: Reputation: 15
help

I am having the EXACT same problem with the exact same type setup. if anyone can help or if you figure it out PLEASE let me know
 
Old 01-20-2003, 07:02 PM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Please post your /etc/fstab But just to get the ball rollin for you, here's something to try:
/dev/hdX /mnt/winbloze ntfs users,user,noauto,ro,umask=022 0 0

The umask of 022 won't allow writing (the 0) unless you've explicitly taken the steps to allow writing to NTFS, and you would know if you did or not, so go ahead and use that umask.

Cool
 
Old 01-20-2003, 07:59 PM   #13
android1654
Member
 
Registered: Jan 2003
Location: Baltimore
Distribution: Slackware,peanut linux
Posts: 30

Rep: Reputation: 15
fstab

as of right now heres my the line in my fstab which isnt working

/dev/hda1 /mnt/c ntfs noauto,users,user,ro,unmask=022 0 0
 
Old 01-20-2003, 08:01 PM   #14
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Can root enter the directory and list the files?
 
Old 01-20-2003, 08:05 PM   #15
android1654
Member
 
Registered: Jan 2003
Location: Baltimore
Distribution: Slackware,peanut linux
Posts: 30

Rep: Reputation: 15
yes, root doesnt have any problems, but just like macshark had described before the user account gets restricted access errors at all different attempts to access the files
 
  


Reply


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
can't access ntfs partition as normal user rezzie Linux - Newbie 6 11-26-2005 08:09 AM
NTFS partition access rr_rr_29 Linux - Hardware 1 10-17-2005 04:59 AM
how 2 access my ntfs partition jamie7676 Red Hat 3 03-31-2005 12:27 PM
How to access NTFS partition? silvershani Linux - Software 1 02-26-2005 07:16 AM
Can't access NTFS partition as regular user Spasmolytic Linux - Newbie 3 05-13-2004 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration