Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: USB Stick has Read Only Permissions

  1. #1
    Join Date
    Oct 2007
    Beans
    20

    USB Stick has Read Only Permissions

    Hi,

    I had problems with my USB stick but managed to resolve them (from memory following some hack by adding a space to the mount command if that makes sense). I've since upgraded to Hardy and now I can only browse the contents of the stick.

    I've tried a few chmod commands but can't get anything to work. A sudo rm allows me to remove files so I know it's permissions!

    I tried launching nautilus in sudo and I can delete and add files. When I try and change the permissions and I get the error saying I'm not the owner.

    Any ideas?

    Excuse my permissions ignorance!

    CT

  2. #2
    Join Date
    May 2008
    Beans
    518

    Re: USB Stick has Read Only Permissions

    Since NTFS doesn't support owners, the whole stick must have an owner. The owner is the mounting user. If this was a hard disk, you would only have to edit your /etc/fstab, but with automount, I have no Idea. However, if you find a possibility to use an option in auto-mount, this is the option you need:

    Code:
    umask=000
    dracayr

  3. #3
    Join Date
    May 2008
    Location
    Belgium
    Beans
    91
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: USB Stick has Read Only Permissions

    I usually do a
    sudo nautilus
    then using the root nautilus I click on the properties of the USB stick, and make me (your name) the owner.
    Then just close the root nautilus or the terminal you started it in and try to access the usb drive.
    Works for me, and you only need to do this once as far as I remember.
    Ubuntu 8.10
    Acer Aspire 5500Z 1GB RAM 1.70GHZ

  4. #4
    Join Date
    Oct 2007
    Beans
    20

    Re: USB Stick has Read Only Permissions

    Quote Originally Posted by BlackDragonBE View Post
    I usually do a
    sudo nautilus
    then using the root nautilus I click on the properties of the USB stick, and make me (your name) the owner.
    Then just close the root nautilus or the terminal you started it in and try to access the usb drive.
    Works for me, and you only need to do this once as far as I remember.
    Tried this... and get an error
    Sorry, couldn't change the owner of "USBDISKPRO": Error setting owner: Operation not permitted

  5. #5
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: USB Stick has Read Only Permissions

    You could also change the permission on /media/USBDISKPRO using this method:

    Code:
    sudo chmod 777 /media/USBDISKPRO
    I don't recommend it but it does work.

    Jim

  6. #6
    Join Date
    Mar 2007
    Beans
    388
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: USB Stick has Read Only Permissions

    I had that problem once and if I can recall, my brother said it had to do with the partition being mounted as NTFS, I think we switched it to Fat32 or ext.
    (don't know how he knew that?)
    Then the USB stick worked with full permissions.

    We used the Gnome partition manager.

    Perhaps someone else can clarify this further.

  7. #7
    Join Date
    Aug 2006
    Location
    Lethbridge
    Beans
    130
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: USB Stick has Read Only Permissions

    Whenever I have any problem with a USB key, I just open GNOME Partition Editor (gparted), and reformat the key to FAT32. You shouldn't have any problems with that. See my sig for permissions help.
    [ Custom Build : : Phenom 9550 : : ATI Radeon 4350 ]
    [ HP Pavilion : : Pentium D 805 ]
    [ HP Mini 311 : : Atom N270 : : nVidia ION ]
    [ Acer Liquid Metal : : Android 2.2.1 ]

  8. #8
    Join Date
    Mar 2007
    Beans
    388
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: USB Stick has Read Only Permissions

    Yes, I think I remember now, the USB stick had it's own partition and that's what had to be formatted.
    I just checked, it's actually formatted as Fat 16.

  9. #9
    Join Date
    Aug 2006
    Location
    Lethbridge
    Beans
    130
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: USB Stick has Read Only Permissions

    Most keys come pre-formatted FAT16, in my experience. Probably to somehow maximize the use of the memory, but it is incompatible with most devices (ie USB enabled DivX players) so I always format FAT32.
    [ Custom Build : : Phenom 9550 : : ATI Radeon 4350 ]
    [ HP Pavilion : : Pentium D 805 ]
    [ HP Mini 311 : : Atom N270 : : nVidia ION ]
    [ Acer Liquid Metal : : Android 2.2.1 ]

  10. #10
    Join Date
    Apr 2008
    Beans
    10,963

    Re: USB Stick has Read Only Permissions

    I've had excellent luck with ntfsprogs (available in synaptic) even with encrypted ntfs files.

    I always install:

    ntfs-config
    ntfsprogs

    and either:

    usbmount

    or:

    pmount and
    hal

    The pmount + hal option tends to create a desktop ico everytime you plug in a device but I personally prefer usbmount.

    Anyway, this seems to cure my internal and external drive problems for the most part.

Page 1 of 2 12 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
  •