LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
Search this Thread
Old 01-24-2005, 11:57 PM   #1
vadriaan
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, 12:34 AM   #2
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
Add an entry to your /etc/fstab, something like this:
Code:
/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 12:36 AM.
 
Old 01-26-2005, 01:11 AM   #3
vadriaan
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, 01:18 AM   #4
guild
Member
 
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, 02:15 AM   #5
vadriaan
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.
 
  


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


All times are GMT -5. The time now is 11:12 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