Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Feb 2017 13:05:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 217390] ports-mgmt/pkg error when running pkg audit in unprivileged directory
Message-ID:  <bug-217390-32340@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217390

            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@FreeBSD.org
          Reporter: bugzilla@logicalsolutns.com
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

Possibly related to 213599..

Running 'pkg audit -F' from inside a directory without world-execute privil=
ege
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217390-32340>