pkg audit -F - insufficient privileges

Vincent Hoffman-Kazlauskas vince at unsane.co.uk
Fri Oct 21 19:32:48 UTC 2016



On 21/10/2016 16:24, Walter Schwarzenfeld wrote:
> |chmod 755 /var/db/pkg solved it.
> |
Possibly this is to do with the

"Update to 1.9.0

- Drop privileges in many commands
- Drop privileges when fetching a file"

Possibly dropping privs to early?

I found that my lazy pf rule to only allow root to have http outbound
connections broke remote updates with the upgrade to the 1.9.x version,
which I suspect to be related to the privilege dropping as an explicit
allow http to my update server fixed it.

Vince

> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"


More information about the freebsd-ports mailing list