Jump to content

USB stick read only [solved]


Helmut
 Share

Recommended Posts

Are you part of the “floppy†group? It seems that this is the group for a usb key:

[yves@localhost ~]$ ls -l /dev/sdb1
brw-rw---- 1 root floppy 8, 17 2009-01-20 11:34 /dev/sdb1

Yves.

Link to comment
Share on other sites

if floppy is marked as the group, like yves shows in his example, then try:

 

gpasswd -a username floppy

 

replace username with your username and then log out and back in again. Then see if you have access to the pendrive.

Link to comment
Share on other sites

It may have a high level of security if it is to MDV.

msec 1 ###as root.

Install package msdostools

Edited by Lexicon
Link to comment
Share on other sites

After running "gpasswd..." as root, ( I did that before as user) it did add my username to the group floppy, but the problem persists.

The security level was reduced to "poor" and this problem persists: If I want to record onto the pendrive it says "device is read only".

I shall follow your suggestion and install package dostools, but then what?

 

Helmut

Edited by Helmut
Link to comment
Share on other sites

Either that solves the problem or it has to be searched somewhere else. I've experienced that kind of problem before. To me it seems rather access rights related - on system level you have to mount the device, but you want to use (i.e. write to) the device as user. Nowadays we have hal, so I cannot go further. Maybe scarecrow or someone else with further experience can give another hint?!?

 

A workaround would be to login as root, then copy all the files you want. For security reasons I'd disable all network connections beforehand.

 

Kind regards,

 

schollsky

Link to comment
Share on other sites

I I saw what I used in the mtab and options remount rw (read-write)

example

mkdir /mnt/disk

mount -o remount rw /dev/sdb1 /mnt/disk

remembet this is example....Lex

Edited by Lexicon
Link to comment
Share on other sites

If you added to the floppy group, and then logged out and back in again, it should have given you access to read/write. If not, I also found this to solve my problem today:

 

chmod -R g+s /media/disk

 

or replace /media/disk with whatever mount point you have for the disk. Plug in the pendrive, and then from a console prompt, as root, type:

 

mount

 

and see what it shows for /dev/sdb1. Then, check the rights on this mount point:

 

ls -l /media/disk

 

or whatever the mount point is. See what the username and group is assigned to it, post it here so we can help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...