Subject: Re: (non)install packages as root?
To: None <netbsd-help@netbsd.org>
From: Soren Jacobsen <soren@blef.org>
List: netbsd-help
Date: 04/30/2003 07:17:42
On 04/30 14:32, Lubos Vrbka wrote:
> >As long as you do the install as a user with "su" privileges, the 
> >packages system will do the compiling without being root, and it will 
> >ask you for the password to "su" for the installation phase.
> what do you mean by "user with su privileges"? is it user that can do 
> "su", i.e. member of the wheel group? i am member of that group and can 
> do su, but if i do make / make install in any of the pkgsrc 
> subdirectories, i get
> => Can't download to /usr/pkgsrc/distfiles/ (permission denied?).
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/games/xmahjongg
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/games/xmahjongg
> 
> probably i have to change permissions to pkgsrc/distfiles...
> after changing permissions to rwxrwxr-x it downloads the package, but
> => Checksum OK for xmahjongg.tar.gz.
> mkdir: /usr/pkgsrc/games/xmahjongg/work: Permission denied
> *** Error code 1

chmod -R 775 /usr/pkgsrc