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.
--
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