Sorry, nope. For me that has always worked fine, Cygwin has never mistaken me to be superuser if I use my normally powered Windows account. What does your /etc/passwd and /etc/group files look like?
My entry in /etc/passwd is: Martin:unused_by_nt/2000/xp:1004:513:U-ATOMISER\Martin,S-1-5-21-1229272821-343818398-682003330-1004:/home/Martin:/bin/bash and /etc/group looks like this: root:S-1-5-32-544:0: SYSTEM:S-1-5-18:18: None:S-1-5-21-1229272821-343818398-682003330-513:513: Administrators:S-1-5-32-544:544: Guests:S-1-5-32-546:546: Users:S-1-5-32-545:545: HelpServicesGroup:S-1-5-21-1229272821-343818398-682003330-1001:1001:
Where would be an appropriate place to check the uid and fail with a useful hint?I think the "inner" configure.in (clone/bootstrap/configure.in) would be the best place. Or even build.pl (clone/bootstrap/solenv/bin/build.pl).
Patch attached!
Attachment:
0001-On-windows-check-uid-before-building-aborting-if-0.patch
Description: Binary data