Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 34

Thread: cannot write to usb - need root permission

  1. #21
    Join Date
    Apr 2007
    Beans
    284
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: cannot write to usb - need root permission

    When I restarted I get this message

    The disk for media/usb0 is not ready or is not yet present

    continue to wait; or press S to skip mounting or M for manual recovery


    putting in a usb restarts booting
    Still not change to the permissions

    Here is what the fstab looks like now with the extra line. Have I made a mistake.
    Code:
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # / was on /dev/sda5 during installation
    UUID=d73153ed-1e54-467b-b2a3-2890fb586918 /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sda6 during installation
    UUID=064f7c03-0b76-4028-a594-8c50d27e04b0 none            swap    sw              0       0
    /dev/sdb1           /media/usb0      vfat        user,auto         0             0
    MS skill level -- I press buttons and stuff happens
    Linux skill level -- I copy and paste into the terminal and stuff happens!
    Mac skill level -- Wear a black turtleneck and stuff happens

  2. #22
    Join Date
    Nov 2009
    Beans
    Hidden!

    Re: cannot write to usb - need root permission

    i can't guess what's wrong...
    now, it was mounting and your problem was that it was not writable by user, right?
    then can this gui method be a solution:
    delete the line you've written, unplug and plug it, if it's mounted automatically, navigate to that drive with root privileges (gksudo nautilus), right click when in that partition, change privileges from the third tab: if the owner and group are root, change them to tadcan, change folder accessibility to read and write.

    i started to feel stupid, this should't be hard.

  3. #23
    Join Date
    Apr 2007
    Beans
    284
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: cannot write to usb - need root permission

    I did all that and was told that the owner could not be changed. My problem was with writing to the usb drive, mounting is not a problem.

    I think i will just reinstall in the morning. It worked up to a few days ago
    MS skill level -- I press buttons and stuff happens
    Linux skill level -- I copy and paste into the terminal and stuff happens!
    Mac skill level -- Wear a black turtleneck and stuff happens

  4. #24
    Join Date
    Mar 2010
    Beans
    26

    Re: cannot write to usb - need root permission

    The 'user' option doesn't work for FAT or NTFS, only ext* (that's why you couldn't write).
    You need to use 'uid=' or 'gid=' and/or 'umask=' on FAT/NTFS.
    I use 'uid=1000' and 'umask=022' --> user 1000 sets the owner of the disk to the first user on the system, umask 022 gives 755 permissions to the whole disk.


    This may or may not be helpful in the future but if something refuses to mount you can force mount it:
    sudo mount /dev/(yourdevice) /media/(yourMntPoint) -o force

  5. #25
    Join Date
    Jun 2006
    Location
    England
    Beans
    517
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: cannot write to usb - need root permission

    I'm looking for a solution too with this problem, I need to be be root to do much with my USB flash memory sticks. My current solution is gksudo nautilus. This problem seems to have happened after upgrading to 10.04 (lucid)

    Under gksudo nautilus I'm not able to change permissions because I'm not the owner of USB0.

    /usr/share/doc/usbmount/README.gz yields the following information-

    The vfat filesystem is one of the most commonly used filesystems in pen
    drives. Unfortunately, due to its age, it is very poor regarding
    features and, in particular, it doesn't feature the most basic access
    control present in Unix systems, namely: permissions on files.

    Linux works around this by creating "virtual" permissions and
    restrictions based on who mounted the filesystem. As usbmount is used,
    the user assigned to the vfat filesystem is, by default, root.
    Last edited by Handssolow; May 11th, 2010 at 05:49 PM.

  6. #26
    Join Date
    Nov 2009
    Location
    Atkins, Arkansas
    Beans
    256
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: cannot write to usb - need root permission

    I've been told that this should not be necessary, but I've had trouble with some pen drives, my mp3 player, and a seagate external hard drive. This works.

    https://help.ubuntu.com/community/Mount/USB

    go down the page and look under manually mounting.

    If it works for you, write a script file, so you don't have to key in the long line.
    There may be another solution, but it worked for me when nothing else would.

  7. #27
    Join Date
    Jun 2006
    Location
    England
    Beans
    517
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: cannot write to usb - need root permission

    The current situation here is when I plug for example a USB 1Gb flash drive it mounts, USB0 appears on my desktop but a right mouse click shows that permissions are held by root.

    Next I go into terminal for a gksudo nautilus then to Places to right click on USB0 to select unmount. The USB0 icon disappears from my desktop but the light on my USB stick is still glowing.

    Next Places then shows I've got a 1.0Gb Filesystem and soon a different icon appears on my Desktop showing this 1Gb Filesystem (my USB stick). A right click on this icon shows shows "The permission of 4917-164C could not be determined".

    A left click opens the flash memory's contents which permissions show I own and that I can add and remove files.

    My problem sorted but surely this needs sorting out in the bigger picture.
    Last edited by Handssolow; May 11th, 2010 at 07:47 PM.

  8. #28
    Join Date
    Nov 2009
    Location
    Atkins, Arkansas
    Beans
    256
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: cannot write to usb - need root permission

    Needs sorting in the bigger picture. I agree. I've had trouble with USB drives from the start of my short Ubuntu experience. The problems have been tolerable, but only solved as work arounds, not by finding the real problem. As yet, I do not know why some usb drives will mount, some will not, or why the solution I suggested from the Ubuntu community documentation helped me.

    However, it is a problem I can live with. It is much easier to tolerate than some of my experience with that other OS.

  9. #29
    Join Date
    Jun 2006
    Location
    England
    Beans
    517
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: cannot write to usb - need root permission


  10. #30
    Join Date
    May 2010
    Beans
    4

    Re: cannot write to usb - need root permission

    I've been having the same problem for a while, and I went for the solution posted here (modyfing the etc/fstub) then I finally went to test it with the laptop of a friend that recently installed Ubuntu 10.04, and on his computer everything worked fine.

    So I checked out the Synaptic packages he had installed by default, and I realized that I had some more that probably were creating some conflicts/problems.

    Now it works again!!

    Here is what i did:

    - start the "synaptic package manager"
    - insert "usb" in the quick search
    - compare your installed packages with the following list (these are the one installed by default):

    usbmuxd
    usbutils
    libusbmuxd1
    libusb-0.1-4
    libusb-1.0-0
    xserver-xorg-video-sisusb
    libmtp8
    usb-creator-gtk
    usb-creator-common
    libmobiledevice0
    libgphoto2-port0
    libgphoto2-2
    media-player-info
    libhpmud0
    hpijs
    hplip

    - remove those packages that have been added by you or that may cause conflicts, in my case I had all the previous ones and I removed the following that I added months ago messing up with my laptop:


    usbmount (yep it sound weird, but now is working properly in my laptop!)
    pyton usb
    usb creator
    gnome pilot


    I hope this example might help some people as I did receive help reading this forum, this is not "THE WAY" you "HAVE TO" follow to solve this problem, but this is just a way that worked for me, and I think is worth to be shared

Page 3 of 4 FirstFirst 1234 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
  •