LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 09-20-2005, 11:48 PM   #1
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Rep: Reputation: 16
Not Able to Access NTFS as normal user


Hello It seems that I am not able to access the NTFS partitions using normal user (but able to read them using root),no matter what I do which is weird.

Here's my /etc/fstab

Code:
/dev/hda6        swap             swap        defaults         0   0
/dev/hda5        /                reiserfs    defaults         1   1
/dev/hda1        /c               ntfs        ro,user          1   0
/dev/hda2        /f               ntfs        ro,user          1   0
/dev/sda1        /g               ntfs        ro,noatime,user,umask=0022,uid=1000,gid=users 1 0
/dev/cdrom       /mnt/cdrom       iso9660     noauto,user,ro   0   0
/dev/fd0         /mnt/floppy      auto        noauto,user      0   0
devpts           /dev/pts         devpts      gid=5,mode=620   0   0
proc             /proc            proc        defaults         0   0
I'm looking to just read /g and I've tried different combinations but nothing seems to work. I took out uid and gid options, changed them, nada. I also installed Captive-NTFS but no avail.

I'm using the 2.6.13 kernel and the NTFS support is built-in. I've also checked google and LQ and nothing seemed to work.

All help appreciated, thanks.
 
Old 09-20-2005, 11:59 PM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Try this:
Code:
/dev/sda1       /g  ntfs    nls=utf8,umask=0222 0       0
 
Old 09-21-2005, 06:27 PM   #3
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Original Poster
Rep: Reputation: 16
Sorry it took me so long to reply, just came home.

I tried adding it and it did not work

I keep getting "Permission is Denied" while trying to 'ls /g'
 
Old 09-21-2005, 06:36 PM   #4
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
Quote:
Originally posted by rob0t
Sorry it took me so long to reply, just came home.

I tried adding it and it did not work

I keep getting "Permission is Denied" while trying to 'ls /g'
Can I assume you rebooted after editing the /etc/fstab?
 
Old 09-21-2005, 06:52 PM   #5
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Original Poster
Rep: Reputation: 16
Yup, gives me "unable to load nls charset utf8" error though...Google didn't help me on that one...Is that a kernel module maybe? I saw some stuff on it and kernels...Though I don't think it could be it.
 
Old 09-21-2005, 06:54 PM   #6
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 66
I'll be honest. I don't know that much about /etc/fstab.
I gave you that mounting advice because it worked for me (I copied and pasted it out of the Ubuntu Guide).

Maybe this might help, though?

http://www.tuxfiles.org/linuxhelp/fstab.html
 
Old 09-21-2005, 06:57 PM   #7
rob0t
Member
 
Registered: Jun 2003
Location: Chicago
Distribution: Arch, CentOS, Ubuntu, FreeBSD, Solaris / OpenIndiana
Posts: 95

Original Poster
Rep: Reputation: 16
Ah I got it to work. Just took out the "nls=utf8" part and added "ro" in front of "umask", reboot, and voila! It works. Thanks a bunch.
 
  


Reply

Tags
access, ntfs, partitions


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 on normal user Ian_Hawdon Linux - Hardware 7 02-24-2005 08:20 AM
getting access denied , when trying to access camera as normal user bennythepitbull Linux - Hardware 2 11-04-2003 02:30 AM
An NTFS partition not accessible to the normal user fiod Linux - General 2 09-28-2003 10:29 AM
normal user access devices N|ghtwo|f Linux - Software 4 07-22-2003 05:16 AM


All times are GMT -5. The time now is 05:48 AM.

Main Menu
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