-   Linux - Software (
-   -   Thumb drive is getting read only Fedora core 5. Why?? (

vmsathar 07-19-2006 02:07 AM

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,

heema 07-19-2006 02:49 AM

when you insert the thumb drive , what is the output of mount ?

jschiwal 07-19-2006 02:53 AM

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.

All times are GMT -5. The time now is 01:30 AM.