Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: [SOLVED] read-only usb stick ???

  1. #1
    Join Date
    Jul 2008
    Beans
    Hidden!
    Distro
    Ubuntu 10.10 Maverick Meerkat

    [SOLVED] read-only usb stick ???

    hi all,

    quick question: hardy refuses to copy stuff onto my usb stick, claiming it to be a read-only file system (tried for the first time today). works fine under windows, read AND write. i can't remember ever having specified the stick to be read only.

    what to do?

    many thanks,
    Mzwo

    PS: Filesystem on the stick: FAT
    Last edited by Mzwo; October 22nd, 2008 at 09:36 AM.

  2. #2
    Join Date
    Oct 2008
    Beans
    24
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: read-only usb stick ???

    I'm having same issue with a external HD..... nightmare....

  3. #3
    Join Date
    Dec 2006
    Location
    Hamburg, Germany
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: read-only usb stick ???

    What filesystem are the stick, and the external drive respectively, formatted as?

    What distributions are you using?
    One ought, every day at least, to hear a little song, read a good poem, see a fine picture, and, if it were possible, speak a few reasonable words...

  4. #4
    Join Date
    Oct 2008
    Beans
    24
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: read-only usb stick ???

    fat32 disk, ful details of my issue here

    http://ubuntuforums.org/showthread.php?t=955279

  5. #5
    Join Date
    Apr 2008
    Beans
    268

    Re: read-only usb stick ???

    have you tried
    Code:
    sudo chown -R [username]:[username] /media/[disk]
    sudo chmod 755 /media/[disk]
    ?

  6. #6
    Join Date
    Feb 2007
    Beans
    4,045
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: read-only usb stick ???

    It sounds like it is mounted as root, without giving users write access. Does /etc/fstab have an entry for it?

    When it is mounted, can you run
    Code:
    mount
    in a terminal and post the output? Also, the output of
    Code:
    ls -ld /media/disk
    would be helpful, but replace /media/disk with the actualy mount point.

  7. #7
    Join Date
    Dec 2006
    Location
    Hamburg, Germany
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: read-only usb stick ???

    Your fstab should contain an entry along the lines of
    Code:
    /dev/sdXX       /media/fat32       vfat       users,gid=users,umask=0002,utf8=true 0 0
    it gives ownership to root and read/write access to all users.
    Thereupon you can set permissions to /media/fat32 (or your respective mountpoint) regularly.

    If you don't understand what I'm suggesting, please post the output of
    Code:
    cat /etc/fstab/
    and specify the mountpoint.
    One ought, every day at least, to hear a little song, read a good poem, see a fine picture, and, if it were possible, speak a few reasonable words...

  8. #8
    Join Date
    Oct 2008
    Beans
    24
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: read-only usb stick ???

    Quote Originally Posted by Stefanie View Post
    have you tried
    Code:
    sudo chown -R [username]:[username] /media/[disk]
    sudo chmod 755 /media/[disk]
    ?
    hi,
    still ave same error, some more background.

    on my hardy installation I have it set to auto login on my username, so I tried

    sudo chown -R ed:ed /media/STOREX

    then

    sudo chmod 755 /media/STOREX

    after that the folders were locked and error generated was Error removing file: Read-only file system

    so i tried the same again with root as the username, same error

  9. #9
    Join Date
    Oct 2008
    Beans
    24
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: read-only usb stick ???

    [QUOTE=northern lights;6011031]Your fstab should contain an entry along the lines of
    Code:
    /dev/sdXX       /media/fat32       vfat       users,gid=users,umask=0002,utf8=true 0 0
    my drive is called STOREX so I tried adding:

    # media drive
    /dev/sdb1 /media/STOREX vfat users,gid=users,umask=0002,utf8=true 0 0

    n I get a cannot mount drive error saying mount point /media/STOREX does not exist

  10. #10
    Join Date
    Dec 2006
    Location
    Hamburg, Germany
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: read-only usb stick ???

    Quote Originally Posted by skippy2222 View Post
    I get a cannot mount drive error saying mount point /media/STOREX does not exist
    Create it. Either via a file manager or by running
    Code:
    mkdir /media/STOREX
    You can put anywhere you like, actually.

    /media/
    /mnt/
    /mount/
    /whatever-you-prefer/STOREX
    One ought, every day at least, to hear a little song, read a good poem, see a fine picture, and, if it were possible, speak a few reasonable words...

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

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