[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217390
Bug ID: 217390
Summary: ports-mgmt/pkg error when running pkg audit in
unprivileged directory
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: pkg at FreeBSD.org
Reporter: bugzilla at logicalsolutns.com
Assignee: pkg at FreeBSD.org
Flags: maintainer-feedback?(pkg at FreeBSD.org)
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-pkg
mailing list