Modified uid can no longer see flash drives
Tom H
tomh0665 at gmail.com
Tue May 31 07:24:48 UTC 2016
On Tue, May 31, 2016 at 2:57 AM, MR ZenWiz <mrzenwiz at gmail.com> wrote:
> I'm running Xubuntu 14.04.4 on all of my computers, and I changed the
> uerid on my desktop a while ago to something other than what it was
> originally. This worked fine, no problems (after a few hairy things
> I;'d missed, and the login greeter will not display my userid in the
> chooser, so I turned it off - how I don't remember, but it works
> fine).
>
> However, this userid did not match the uid on my laptop (1000), and it
> got picky a week or so ago with cross-machine copies. I decided to
> change the uid to match (1000 -> 500). I thought I'd covered all the
> bases, but alas, things have not been so nice.
>
> For one thing, I can't get the login greeter to stop showing me the
> "Other..." choice (I had to disable the Guest account to get this
> far). It will let me log in with my user id and password without
> having to click past the Guest option, so that's just a minor
> annoyance.
1000 is the lowest uid that you can use. It's normal that you're
having problems and that your user isn't showing up in lightdm.
> The big problem is that when I insert a flash drive, it mounts, but I
> can't see or access it unless I sudo everything, including df (just to
> see that it is mounted).
>
> I googled for this, but none of the answers works as needed.
>
> The permissions for the drive look right:
>
> $ sudo df
> :
> /dev/sdb1 ##### ##### ##### ##% /media/admar/Lexar
>
> $ ls -l /media
> drwxr-xr-x+ 3 root root 4096 May 30 17:09 admar/
>
> $ ls -l /media/admar
> /bin/ls: cannot open directory /media/admar/: permission denied
>
> $ sudo ls -l /media/admar
> total 4
> drwx------ 58 admar admar 4096 May 30 14:57 Lexar
>
> I (admar) am a member of the root, fuse and plugdev groups (actually,
> most of the system groups, but these were called out in various web
> pages).
Have you searched through the entire system and changed all the
1000-owned files and directories to 500? How about the 1000-to-500
group?
More information about the ubuntu-users
mailing list