From owner-freebsd-bugs@FreeBSD.ORG Wed May 15 05:00:07 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B96FA41A for ; Wed, 15 May 2013 05:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id ABF9190F for ; Wed, 15 May 2013 05:00:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4F507HE035069 for ; Wed, 15 May 2013 05:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4F507P4035068; Wed, 15 May 2013 05:00:07 GMT (envelope-from gnats) Date: Wed, 15 May 2013 05:00:07 GMT Message-Id: <201305150500.r4F507P4035068@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Ronald F.Guilmette" Subject: bin/178603: pkg_info -g reports file is missing when it is just unreadable X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: "Ronald F.Guilmette" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 May 2013 05:00:07 -0000 The following reply was made to PR bin/178603; it has been noted by GNATS. From: "Ronald F.Guilmette" To: FreeBSD-gnats-submit@freebsd.org Cc: rfg@tristatelogic.com Subject: bin/178603: pkg_info -g reports file is missing when it is just unreadable Date: Mon, 13 May 2013 16:10:12 -0700 (PDT) >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: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"