On 2016/02/22 15:46, Jiri B wrote:
> Hi,
> 
> I did quick install and then I executed 'pkg_add -iv $packages'
> under root user.
> 
> The output get spammed with:
> 
> ftp: /root/.netrc: Permission denied
> 
> IIUC this is caused by 'drop_priviledge_and_setup_env' function
> in PackageRepository.pm which changes uid to '_pfetch' which
> spawns /bin/sh that cannot access root's homedir.
> 
> OpenBSD 5.9 #1880 Sat Feb 20 2016
> 
> * su - root
> * export PKG_PATH=$path
> * pkg_add -vi $package
> * observe terminal
> 
> j.
> 

Confirmed.

I guess most of us haven't noticed this yet because we are using
HTTP in PKG_PATH because it's so much faster.

Reply via email to