What does "ls -l /bin/mount" say? Is its owner the user with UID 5013, by any chance? On Tue, Jun 6, 2017, at 17:11, L A Walsh wrote: > L A Walsh wrote: > > > > But my EUID isn't 5013 ("LOGINUID" is). That's the complaint/bug. > --- > FWIW, I display them in perl, and they also show 0/0: > sudo bash -c 'perl -e "use P;P \"UID=$<, EUID=$>\""; /bin/mount devpts > /tmp/mnt -t devpts' > UID=0, EUID=0 > mount: only root can use "--types" option (effective UID is 5013) > > I.e. both bash & perl show UID/EUID being 0 before I call mount. > I don't get it. > > I looked at mount's src-code, and have no idea why it's not > returning the right value. -- Tilman Schmidt tilman@xxxxxxx -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html