Find the answer to your Linux question:
Results 1 to 2 of 2
I am running a dual boot system Ubuntu 10.04 (32 bit) and Windows 7 Home Premium (64 bit) on a Dell Inspiron 540s. I currently have an 8 GB USB ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    13

    Cannot write to USB Sticks and SD cards


    I am running a dual boot system Ubuntu 10.04 (32 bit) and Windows 7 Home Premium (64 bit) on a Dell Inspiron 540s. I currently have an 8 GB USB stick inserted in a 4 port USB hub. I can read files on the device but I cannot write to any of the files. Using the ls and chmod commands I get the following outputs. Note that after assigning rwxr to all users nothing changes. Incidentally, since I could not write to the stick I created a text file in windows and saved it to the USB stick as a text file.

    ubuntu:~$ ls -l /media/usb/file3.txt
    -rwxr-xr-x 1 root root 6 2011-05-27 15:17 /media/usb/file3.txt
    ubuntu:~$ sudo chmod 777 /media/usb/file3.txt
    [sudo] password for rwhanson:
    ubuntu:~$ ls -l /media/usb/file3.txt
    -rwxr-xr-x 1 root root 6 2011-05-27 15:17 /media/usb/file3.txt
    ubuntu:~$

    I continuously receive the statement only root has the priviledge of writing etc. to the files on the USB stick. I have the same problem when I insert a card reader with an SD card. It is recognized but I do not have write priviledges.

    Any help with this issue would be appreciated.

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,158
    One assumes that the stick is formatted FAT-32? FAT file systems don't support Linux-style permissions. The OS will remember them for the current session, but they won't be remembered. So, when you plug the stick in, and it is automounted, what does the "mount" command show? You may need to either remount it for rw access by everybody using the options "-o remount,rw,users"
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •