Subject: how to deal with package users/groups when installing in unprivileged mode?
To: NetBSD Packages Technical Discussion List <>
From: Georg Schwarz <>
List: tech-pkg
Date: 04/21/2006 00:22:09
I just came across that issue when trying to install print/cups with  

/usr/local/pkg/bin/install-sh -c -o schwarz -g user -m 755 -m 4755 -o  
lp -g sys -s .libs/lppasswd /usr/local/pkg/bin/lppasswd
you are not a member of group sys
chmod() failed on /usr/local/pkg/bin/#inst.21096#: Not privileged
Cannot access /usr/local/pkg/bin/lppasswd: No such file or directory

How should pkgsrc deal with such a situation? Should the package's  
groups and users default to the unprivileged group and user by  
default when installing in unprivileged mode?

Georg Schwarz  +49 178 8545053