Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 08-12-2003, 10:43 PM   #1
Registered: Jul 2003
Distribution: Slackware 9.1; Gentoo
Posts: 68

Rep: Reputation: 15
Can't view NTFS drive as user!

I've got my /dev/hda1 drive's an NTFS drive. I can read it fine as root. But, as we all know, running as root all the time isn't the greatest of ideas. There are files I want to access on this drive, but don't want to be logged in as root. I've tried "chmod" and "chown" but neither seem to work. I still can't access this directory even though it says permissions and ownership has been changed.

Any clues?
Old 08-12-2003, 10:50 PM   #2
Senior Member
Registered: Jan 2003
Location: Malaysia
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
how did you mount it?
I assume you add an entry into /etc/fstab
Can you post it if that is the way you did it?
Old 08-12-2003, 10:53 PM   #3
Senior Member
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Try this in your /etc/fstab:
/dev/hda1 /win ntfs uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0
Got it from
Old 08-12-2003, 11:46 PM   #4
Senior Member
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
/dev/hda1 /win ntfs uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0
Tangle - I wouldnt tell him to use this - Its an NTFS filesystem he's mounting

You've give him a


This will give Read Write and Execute access on all files -

Writing to a NTFS filesystem is likely to corrupt it.

Also you've gave him


This also allows the possibility to Write to the partition.

This is more suitable

/dev/hda1 /mnt/windows ntfs auto,ro,umask=222,uid=501 0 0

Just substitute in your partition, mount point and User id number.

You can get your User ID Number by opening a command line and typing:

id username (substitute username with whatever your username is)

Look for the


thats your user id number.

Last edited by Skyline; 08-12-2003 at 11:52 PM.
Old 08-13-2003, 09:37 AM   #5
Registered: Jul 2003
Distribution: Slackware 9.1; Gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
Thanks guys, I'll give that a shot once I get home.

I did add the mount to fstab; but I read somewhere on how another person did it and instead of the string "auto,ro,umask=222,uid=501" I simply have defaults. So, I'll try changing that as you have suggested, Skyline.

Old 08-13-2003, 10:00 PM   #6
Registered: Jul 2003
Distribution: Slackware 9.1; Gentoo
Posts: 68

Original Poster
Rep: Reputation: 15
Did not work. I have the string in my /etc/fstab just as Skyline has posted, except I've changed it according to my system and my uid. I, as my username, cannot access the directory. Root does it just fine. Works find for my username at work...aggrivating.


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
user ntfs hard drive access problem Th3_J3st3R Slackware 4 08-28-2005 09:59 PM
Possible to view files on a second NTFS hard drive? partyk1d24 Linux - Software 1 06-23-2005 02:03 PM
USB/ntfs drive and user permissions FC3noob Linux - Newbie 1 02-16-2005 10:37 AM
I Figured out how to view the ntfs drive!!! ben_build#2.1.0 Member Success Stories 0 05-03-2004 06:20 PM
NTFS drive - no user privilages - root only jon_k Linux - Software 2 09-01-2003 05:28 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:22 AM.

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