Subject: Re: pkg_add just toasted my entire home directory
To: Todd Vierling <tv@pobox.com>
From: Richard Earnshaw <rearnsha@arm.com>
List: netbsd-bugs
Date: 10/14/1998 21:08:52
> On Wed, 14 Oct 1998, Richard Earnshaw wrote:
> 
> : Basically, it doesn't work too well if the pkgsrc lives on a NFS file 
> : system to which root doesn't have trusted access.  The problem comes 
> : during the install phase when the installer tries to create more files in 
> : the build area -- these promptly fail unless world write access is enabled 
> : because root isn't trusted.
> 
> Then you'll need to find a different method of installation (such as a
> direct untarring on the server, which would lose the /pkgdb info).
> 
> /usr/pkg is designed to have root-owned files, and if you can't install to
> it, there's not much we can do about it except give the above suggestion.
> 
I think you misunderstood what I was trying to say.  The install process 
tries to create root owned files in /usr/pkgsrc/...  -- I don't have a 
problem with root owning files in /usr/pkg I can see the reason for that.  
But the install process does more than just read from the build area, 
which is the bit on the NFS partition.