maintainer-feedback requested: [Bug 217390] ports-mgmt/pkg error when running pkg audit in unprivileged directory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 27 13:05:55 UTC 2017


bugzilla at logicalsolutns.com <bugzilla at logicalsolutns.com> has reassigned
Bugzilla Automation <bugzilla at FreeBSD.org>'s request for maintainer-feedback to
pkg at FreeBSD.org:
Bug 217390: ports-mgmt/pkg error when running pkg audit in unprivileged
directory
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217390



--- Description ---
Possibly related to 213599..

Running 'pkg audit -F' from inside a directory without world-execute privilege
causes sqlite to fail.

(this is the second time that 'pkg running as a reduced privilege user' has
caused problems. Why are we doing that?)



[root]:[~]# pwd
/root

[root]:[~]# ls -ald .
drwxr-x---  6 root  wheel  512 Feb 27 04:43 .

[root]:[~]# pkg audit -F
vulnxml file up-to-date
pkg: sqlite error while executing sqlite open in file pkgdb.c:1107: unable to
open database file

[root]:[~]# chmod o+x .

[root]:[~]# pwd
/root

[root]:[~]# ls -ald .
drwxr-x--x  6 root  wheel  512 Feb 27 04:43 .


[root]:[~]# pkg audit -F
vulnxml file up-to-date
0 problem(s) in the installed packages found.


More information about the freebsd-pkg mailing list