LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-19-2006, 02:07 AM   #1
vmsathar
LQ Newbie
 
Registered: Jul 2006
Posts: 2

Rep: Reputation: 0
Thumb drive is getting read only Fedora core 5. Why??


Dear sir,

I am using the Fedora Core in my Dell machine. When I connect the thumb drive it is mounted successfully in /media but getting read only in user level. When I login as root I can write files to thumb drive. Please help me to solve this problem

Thanking you,
Sathar.
 
Old 07-19-2006, 02:49 AM   #2
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 46
when you insert the thumb drive , what is the output of mount ?
 
Old 07-19-2006, 02:53 AM   #3
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
First, look at your /etc/fstab file. An auto-mounting entry might look like:
usbfs /proc/bus/usb usbfs noauto 0 0

Try adding a umask=0000 option OR uid=yourusername option.

Another thing to look at is the permissions for the device.
I just plugged in a thumb drive on my computer.
jschiwal@hpamd64:/usr/src/linux> ls /dev/sd* -l
brw-r----- 1 root disk 8, 0 2006-07-19 02:46 /dev/sda
brw-rw----+ 1 root disk 8, 1 2006-07-19 02:46 /dev/sda1
There might be a security problem doing it this way, but you could make yourself a member of the "disk" group. The problem is that you would also be able to write to /dev/sda.

You system probably uses udev to create and mount the device. Editing the rules in /etc/udev/rules.d/ would probably be the best solution to the problem.
 
  


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
USB thumb drive mounting as Read Only baryonyx Suse/Novell 3 05-25-2006 12:57 AM
Fedora Core 2 CD read problems drcyber Linux - Newbie 10 09-07-2004 10:39 AM
can i read NTFS from fedora core 2? Napoleon_Jo Red Hat 0 07-08-2004 11:45 PM
Fedora Core 1, won't read in file to variable linlu Linux - General 4 07-01-2004 06:47 PM
Fedora Core 2 users read this. veggiemanuk Fedora 10 06-21-2004 05:25 PM


All times are GMT -5. The time now is 01:03 PM.

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