Announcement

Collapse
No announcement yet.

[solved] mounting usb stick read/write problems

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [solved] mounting usb stick read/write problems

    OK, I give up. I'm sure it's a simple thing.
    How do I set things up so that when I plug a usb stick into a slot, I don't have to go through a song and dance to read and write to it? No matter what i do, I get "permission denied" unless I sudo into the device. Would be nice if all I had to do is plug it in, click on it in device notifier, and then read and write to it through dolphin as my normal user.
    We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

    #2
    Re: mounting usb stick read/write problems

    That is what my system does, and I don't recall having to set it up.

    Comment


      #3
      Re: mounting usb stick read/write problems

      Well, mine doesn't. Whenever I plug a usb stick in, it says it is owned by root, and while I can read it, I cannot write to it as a user. Can't figure out why.
      We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

      Comment


        #4
        Re: mounting usb stick read/write problems

        I have done something that will probably change it and it is convenient for me. I added these to /etc/fstab
        /dev/disk/by-uuid/18D2-14D3 /home/flarson/gizmo1 vfat user,defaults
        /dev/disk/by-uuid/27E3-463F /home/flarson/gizmo2 vfat user,defaults
        /dev/disk/by-id/usb-USB_2.0_Flash_Disk_2443035390b45b-0:0 /home/flarson/16G vfat user,defaults

        That lets me mount my flash drives where I want them. Then I created a couple files which I placed in /usr/share/kde4/services/ServiceMenus/
        ********************************
        cat mounthere.desktop
        [Desktop Entry]
        Type=Service
        X-KDE-ServiceTypes=KonqPopupMenu/Plugin,inode/directory
        Actions=mountHere;
        X-KDE-AuthorizeAction=shell_access

        [Desktop Action mountHere]
        Name=Mount
        Icon=/usr/share/icons/crystalsvg/64x64/devices/usbpendrive_mount.png
        Exec=mount %f
        X-Ubuntu-Gettext-Domain=desktop_kdebase
        ************************************************** **
        cat unmounthere.desktop
        [Desktop Entry]
        Type=Service
        X-KDE-ServiceTypes=KonqPopupMenu/Plugin,inode/directory
        Actions=unmountHere;
        X-KDE-AuthorizeAction=shell_access

        [Desktop Action unmountHere]
        Name=Unmount
        Icon=/usr/share/icons/crystalsvg/64x64/devices/usbpendrive_unmount.png
        Exec=umount %f
        X-Ubuntu-Gettext-Domain=desktop_kdebase
        **************************************************

        Comment


          #5
          Re: mounting usb stick read/write problems

          One thing I notice is that you have them formatted to VFAT. Now that I think about it, stuff that is vfat formatted works properly, ext3 does not. Maybe that's the solution.

          Yep, just tried it, if the device is formatted to fat32, it works properly, and that's probably a good thing to do anyway.
          We only have to look at ourselves to see how intelligent life might develop into something we wouldn't want to meet. -- Stephen Hawking

          Comment


            #6
            Re: [solved] mounting usb stick read/write problems

            ya try sticking that ext3 formated usb in a windows box and see if you can get in .....

            VINNY
            i7 4core HT 8MB L3 2.9GHz
            16GB RAM
            Nvidia GTX 860M 4GB RAM 1152 cuda cores

            Comment


              #7
              Re: [solved] mounting usb stick read/write problems

              If it is loaded correctly I will reboot and really "get in".

              Comment

              Working...
              X