Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 01-25-2005, 12:57 AM   #1
LQ Newbie
Registered: Jan 2005
Distribution: SuSE, Mandrake
Posts: 3

Rep: Reputation: 0
Question having a problem accessing my usb flash drive

I am using SuSE 8.2 and Mandrake 9.2. on the same machine. (O, and winMe). I can access the flash drive only as root. I can not change the ownership or permissions of the /mnt/usbDrive folder. When I am logged is as root, I get the message that I do not have enough permission to change that.
Old 01-25-2005, 01:34 AM   #2
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Add an entry to your /etc/fstab, something like this:
/dev/sda1        /mnt/usbDrive   vfat        noauto,user,rw             0   0
Then any user on the system can mount /dev/sda1 at /mnt/usbDrive and read/write the files on it, using either "mount /dev/sda1" or "mount /mnt/usbDrive".

Last edited by DaHammer; 01-25-2005 at 01:36 AM.
Old 01-26-2005, 02:11 AM   #3
LQ Newbie
Registered: Jan 2005
Distribution: SuSE, Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
Tried it (with that exact entry in fstab), no go. My main puzzle is why can I change any hardware settings as root but not the flash drive?

The drive was automatically installed as /dev/sda1 with root as owner and the mount point as /mnt/usbDrive and permissions as drwx--x--x. Tried to change ownership as well as change permissions, not allowed. (all this as logged in as root)
Old 01-26-2005, 02:18 AM   #4
Registered: Aug 2003
Location: United States
Distribution: Auditor Linux
Posts: 64

Rep: Reputation: 15
what are the specifics on the usb device?

Can you access it as a normal user in EITHER suse or mandrake?

Did you reboot after adding the lines to /etc/fstab (not sure this matters but it might).

If you are logged in as a normal user - what happens when you insert the USB device?

For me - if I am logged in as a normal user and then insert the usb device then I can mount it with the normal mount command.
Old 01-27-2005, 03:15 AM   #5
LQ Newbie
Registered: Jan 2005
Distribution: SuSE, Mandrake
Posts: 3

Original Poster
Rep: Reputation: 0
Standard (cheapest) 128M usb 2.0 flash drive from Memorex. Both SuSE and Mandrake give the same problem. When I insert the drive, it mounts normally, but I have to use super user mode to access it.

I sort of solved the problem by reinstalling the drive using Mandrake hardware detection. Found an option there that allows the user to access the drive. Seems I used the default setting the first time. Now I wonder what script of file contains those alternative settings. Defnitely not fstab.


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
Problem with USB flash drive dmsynck Debian 4 11-23-2005 02:43 PM
Problem disconnecting USB flash drive Mordechai Linux - Hardware 8 09-06-2005 12:09 PM
USB flash drive mounting problem guillaume31 Linux - Hardware 4 05-23-2005 12:47 PM
USB flash drive problem Kensai Mandriva 6 02-23-2004 03:05 PM
Accessing USB Flash Drive under Redhat Linux kn_sravan Linux - Hardware 7 08-18-2003 01:56 AM > Forums > Linux Forums > Linux - Hardware

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