Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bin/178603: pkg_info -g reports file is missing when it is just unreadable

1 view
Skip to first unread message

Ronald F.Guilmette

unread,
May 13, 2013, 7:20:24 PM5/13/13
to FreeBSD-gn...@freebsd.org, r...@tristatelogic.com

>Number: 178603
>Category: bin
>Synopsis: pkg_info -g reports file is missing when it is just unreadable
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 13 23:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Ronald F. Guilmette
>Release: FreeBSD 9.1-RELEASE amd64
>Organization:
entr0py
>Environment:

System: FreeBSD 9.1-RELEASE amd64

>Description:

If the "pkg_info -g" command is executed by a non-root user, then in such
a cases, some of teh files to be checked may have permissions set so that
they are not readable by ordinary users. In such cases, "pkg_info -g"
will improperly and incorrectly report each such file with a message
saying "doesn't exist" rather than "not readable by you".

This is misleading and incorrect.

>How-To-Repeat:

portinstall dbus-1.6.8
pkg_info -g dbus-1.6.8

Result will be:

pkg_info: /usr/local/libexec/dbus-daemon-launch-helper doesn't exist

>Fix:

Left as an exercise for the reader.

But seriously folks, a proper fix should be fairly trivial. I will cook
up patches, if requested.
>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebs...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs...@freebsd.org"

Ronald F.Guilmette

unread,
May 15, 2013, 1:00:33 AM5/15/13
to freebs...@freebsd.org
The following reply was made to PR bin/178603; it has been noted by GNATS.
0 new messages