From owner-freebsd-bugs Thu May 4 6: 0: 5 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id CDBBF37C034 for ; Thu, 4 May 2000 06:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id GAA94110; Thu, 4 May 2000 06:00:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 4 May 2000 06:00:03 -0700 (PDT) Message-Id: <200005041300.GAA94110@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Neil Blakey-Milner Subject: Re: bin/18373: pkg_delete shouldn't insist on root Reply-To: Neil Blakey-Milner Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/18373; it has been noted by GNATS. From: Neil Blakey-Milner To: Ben Smithurst Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/18373: pkg_delete shouldn't insist on root Date: Thu, 4 May 2000 14:54:37 +0200 On Wed 2000-05-03 (15:46), Ben Smithurst wrote: > It is rather inconvenient that pkg_delete(1) requires the calling user > to be root, as this makes testing a port you have created hard (it > seems you have to be root to allow "make deinstall" do anything). This > restriction seems unnecessary, and removing it certainly can't be a > security risk. Why not compare the owner of the PKG_DBDIR and the caller? Overloading '-f' might cause problems, so maybe another flag is necessary. Neil -- Neil Blakey-Milner Hacker In Chief, Sunesi Clinical Systems nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message