tech-pkg archive

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

Re: Chaging uid/gid at binary install



On Thu, Feb 17, 2011 at 11:02:29AM -0800, John Nemeth wrote:
 > } IIUC, those uids/gids must be referred to by symbol (user/group
 > } name), instead of by numeric values.
 > } 
 > } I'm not sure what else have to be assured, thus asking here.
 > 
 >      You could possibly do it by number, but that would be foolhardy
 > since that would mean that you're dependent on the existing unknown
 > configuration of the system.  Using symbols means it doesn't matter
 > what the numeric value is on any given system.  And, if the symbols
 > don't exist then the INSTALL script can call {user,group}add (or
 > whatever is appropriate for the target OS) to create them.

My understanding from several PRs is that binary packages end up with
numeric uids and gids wired into them, not names. Assuming this is
actually true, it's a bug.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index