Subject: Re: nfs mounted pkgsrc
To: Chuck Cranor <chuck@research.att.com>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 02/15/2002 22:07:33
On Wed, Feb 13, 2002 at 11:32:02AM -0500, Chuck Cranor wrote:
> hi-
>
> i used to be able to have my pkgsrc on a remote NFS server (not
> managed by me) and everything would work fine. a while ago this
> got broken because "make install" started wanting to write to
> work/.PLIST as root:
>
> ===> Becoming root@xxx.research.att.com to install xcolors-1.3.
> su Password:
> install -c xcolors /usr/X11R6/bin/xcolors
> install -c -m 0444 Xcolors.ad /usr/X11R6/lib/X11/app-defaults/Xcolors
> install in . done
> install.man in . done
> cannot create /amd/test/root/usr/netbsd/current/pkgsrc/x11/xcolors/work/.PLIST: permission denied
> *** Error code 2
>
>
> is there any way to work around this? it used to work fine.
>
>
> chuck
That's what I implemented PRE_ROOT_CMD for (see
pkgsrc/mk/bsd.pkg.defaults.mk)
Not the greatest, but worked for me in similar circumstances.
Regards,
Alistair