LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 09-20-2003, 06:14 PM   #1
spire
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Rep: Reputation: 0
Post USB Key /w ro NTFS and normal users can't read


Hello,

First post for me.

I have a Lexar 256 USB key that was formatted on a Win2k box. So it is formatted NTFS. Under Linux (RH9 2.4.20 /w NTFS read-only compiled in) I can mount the USB key and I can read from it when I am root but not as a regular user. My fstab for the USB key is:

/dev/sda1 /mnt/usb auto noauto,user 0 0

I have a USB drive icon appearing on the desktop (Gnome/Bluecurve) when I mount the device (either as a normal user or as root). When I right-click to change the permissions from owner-read-write I get the following message (even as root):

"Couldn't change the permissions of "usb" because it is on a read-only disk"

So i see my problem but can't fix it. So does this mean that it is impossible for a regular user to browse a NTFS USB key if only read-only NTFS is compiled into the kernel?

Thanks
 
Old 09-20-2003, 06:22 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Try changing your fstab entry to this:

/dev/sda1 /mnt/usb ntfs umask=0222,auto,ro 0 0
 
Old 09-20-2003, 06:44 PM   #3
spire
LQ Newbie
 
Registered: Sep 2003
Posts: 2

Original Poster
Rep: Reputation: 0
That did it. :)

I wish umask was in the fstab man page!

Thanks
 
Old 09-20-2003, 06:50 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Smile

Glad to be of help!
 
  


Reply



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
Allowing normal users read-write access to Windows partitions Aphex_Twin2 Slackware 5 05-23-2005 09:22 AM
Normal users reading regular NTFS mount. MagusYilie Linux - Newbie 2 04-20-2005 11:07 PM
fstab file to allow all users to read ntfs jza Linux - General 1 01-29-2004 02:05 PM
permission for normal users to read my NTFS HDs. Moebius Linux - Newbie 6 01-26-2004 06:23 AM
How do i get users to read my NTFS drive!! therion12 Linux - General 22 01-23-2002 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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