This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: Some questions about the nfs source package was: RE: NFS server(final?)
Jason Tishler wrote:
>
> Check out the is_admin() function in setup.exe's mount.cc:
Sure, it's easy to do using Windows calls.
The issue is that Unix has a well defined privileged uid (0)
and that's not the case in Cygwin.
Exim itself determines if it is privileged by comparing its uid
and groups to predetermined (Makefile time) values.
The config script needs to know the uid (18?) of the program running
as service and the privileged gid (544?).
Porting is greatly simplified if one can count on 18 and 544,
and, FWIW, doing so has not generated complains.
Pierre