Helmut Posted January 20, 2009 Report Share Posted January 20, 2009 Hi Folks, I'm running Mandriva 2009 in Gnome on an IBMx31 laptop. Upon inserting the USB-stick it will mount, but all files remain read only. I cannot put anything on the stick. grateful for any help, Helmut. Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 20, 2009 Report Share Posted January 20, 2009 What filesystem is on the USB stick? Quote Link to comment Share on other sites More sharing options...
Helmut Posted January 20, 2009 Author Report Share Posted January 20, 2009 What filesystem is on the USB stick? vfat (FAT32) Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted January 20, 2009 Report Share Posted January 20, 2009 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. Quote Link to comment Share on other sites More sharing options...
Helmut Posted January 20, 2009 Author Report Share Posted January 20, 2009 (edited) ls -l /dev/sdb1 brings the same answer floppy group Helmut Edited January 20, 2009 by Helmut Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 20, 2009 Report Share Posted January 20, 2009 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. Quote Link to comment Share on other sites More sharing options...
Helmut Posted January 20, 2009 Author Report Share Posted January 20, 2009 Hi Ianw, that code brings me "command not found" Helmut Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 20, 2009 Report Share Posted January 20, 2009 that code brings me "command not found" It seems you are not running it as root. Else, it would return "adding user abcde to group floppy" or something very close to that. Quote Link to comment Share on other sites More sharing options...
Lexicon Posted January 21, 2009 Report Share Posted January 21, 2009 (edited) It may have a high level of security if it is to MDV. msec 1 ###as root. Install package msdostools Edited January 21, 2009 by Lexicon Quote Link to comment Share on other sites More sharing options...
Helmut Posted January 21, 2009 Author Report Share Posted January 21, 2009 (edited) 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 January 21, 2009 by Helmut Quote Link to comment Share on other sites More sharing options...
scoonma Posted January 21, 2009 Report Share Posted January 21, 2009 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 Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 21, 2009 Report Share Posted January 21, 2009 Ummm, no, I have no idea about the Mandriva security policies structure. I haven't used Mandriva since a long time ago- sorry for that... Quote Link to comment Share on other sites More sharing options...
Lexicon Posted January 21, 2009 Report Share Posted January 21, 2009 (edited) 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 January 21, 2009 by Lexicon Quote Link to comment Share on other sites More sharing options...
scarecrow Posted January 21, 2009 Report Share Posted January 21, 2009 Currently, the mtab contents are rather irrelevant. However, seeing if there is some odd fstab entry for USB devices is certainly a good idea. Do you have any entries about /proc/bus/usb in your /etc/fstab config file? Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted January 22, 2009 Report Share Posted January 22, 2009 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.