Why won't pkg download as unprivileged user?

As you know, apt hands downloads to _apt unprivileged user. Pkg on FreeBSD downloads everything as root - not very security-oriented.

Is there a good reason for this to be so?
 
You CAN do this manually by:
Code:
pkg update

# as regular user: fetch all pending upgrades (and new dependencies)
pkg fetch -u -d -U -y -o ~/pkgs

# as root: upgrade
pkg add -f ~/pkgs/..../*.pkg
I think it deserves to be this way with pkg by default.
 
You CAN do this manually by:
Code:
pkg update

# as regular user: fetch all pending upgrades (and new dependencies)
pkg fetch -u -d -U -y -o ~/pkgs

# as root: upgrade
PKG_CACHEDIR=/home/you/pkgs pkg upgrade
I think it deserves to be this way with pkg by default.
Not sure I want some peasant account to touch my packages...which I then install.
Chain of custody issue, I guess.
 
Back
Top