On Thu, Oct 09, 2003 at 09:02:32AM +0100, Brian Candler wrote: > You can call > the functions getcwd() which gives the current working directory as a > string, and getuid() to return the numeric user id.
Sorry I should have said geteuid() [the *effective* userid gives the userid which will actually be used for permissions purposes] Regards, Brian.
