Announcement

Collapse
No announcement yet.

How do I? USB auto mount with gid=1000 instead of gid=0

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

    How do I? USB auto mount with gid=1000 instead of gid=0

    Hi

    I have a Samsung 500G usb drive. Its volume label is SAMSUNG.

    My user account is justin.

    When I plug it in and allow dolphin to mount it, the user id is justin (uid=1000), but the group id is that of root(gid=0)

    I assume this is due to the fact that the mounting process is justin:root.

    How do I cause the group id of these mounts to become justin instead of root. More to the point, how do I cause the uid=gid (always) in these circumstances.

    Many thanks,
    Justin

    #2
    Re: How do I? USB auto mount with gid=1000 instead of gid=0

    AFAIK, you don't/can't. You are correct that the actual mounting is done by root.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: How do I? USB auto mount with gid=1000 instead of gid=0

      I think Snowhog is correct, because root owns the USB bus (to be redundant). If you think about it, there's no way for the system to know what the next item plugged in will be. All it knows is who the logged in user(s) is/are. So, whatever gets plugged in gets presented to the user, for his/her use.

      If you wanted to leave the external drive plugged in "permanently", you could mount it in /etc/fstab, with user ownership. But then you can't boot the system without having it plugged in, at least not gracefully.

      Comment

      Working...
      X