-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 El 2018-08-07 a las 00:07 +0100, Dave Howorth escribió:
Dave, et al --
...and then Dave Howorth said... % % I need to create a new group - 'plugdev' - and make my user a member of % the group (it's apparently necessary for android dev tools). ... % % $ id % uid=1000(dhoworth) gid=100(users) groups=100(users),16(dialout) ... % Ah, if I su to myself then % % $ groups % users dialout plugdev % ... % Gah! I must be missing something basic.
Yes. log out, log in.
Basic, yes, but not necessarily well known. I'll be that you ran
su - ..
Not sure exactly what you meant there but I did su, not su -
to become yourself so that you effected a login shell, which is what you need to read your groupship. You can either log out and log in again or just ssh to your machine in that window and you'll then have the plugdev group in that shell.
But I just tried su - and I just tried ssh and neither affected the outcome. groups tells me I am a member, adb tells me I am not.
I'm not intending to log out, unless somebody convinces me it really is necessary for some obscure linux reason. :)
It just is so. Log out, log in. :-) - -- Cheers Carlos E. R. (from openSUSE 42.3 x86_64 "Malachite" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlto+7gACgkQja8UbcUWM1xT2QD9GsACiV0bV6KJJjsuNCklzQor 8ZPJkgNR1H7WFKs2KfUA/i1G/KKGG79dclz1QHciCDcgqFZWepyxd63xaFZ43Kc4 =y0Je -----END PGP SIGNATURE-----