pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/39235: Unprivileged pkgsrc bootstrap fails on OpenSolaris 2008.05



The following reply was made to PR pkg/39235; it has been noted by GNATS.

From: "David H. Gutteridge" <dhgutteridge%sympatico.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/39235: Unprivileged pkgsrc bootstrap fails on OpenSolaris 
2008.05
Date: Mon, 28 Jul 2008 22:52:03 -0400

 Lubomir Sedlacik wrote:
 >  Why don't you just use id -u and compare to 0?  That works everywhere,
 >  since it's mandated by POSIX.  (Granted, on older Solaris releases
 >  you'll need to use /usr/xpg4/bin/id).
 
 That's a good point, /usr/xpg4/bin/id still exists in OpenSolaris, for
 that matter, and id -un gives the user name.
 
 Dave
 
 


Home | Main Index | Thread Index | Old Index