From owner-freebsd-bugs Thu May 4 8: 1: 2 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from ns1.sunesi.net (ns1.sunesi.net [196.15.192.194]) by hub.freebsd.org (Postfix) with ESMTP id CFA7337B741 for ; Thu, 4 May 2000 08:00:58 -0700 (PDT) (envelope-from nbm@sunesi.net) Received: from nbm by ns1.sunesi.net with local (Exim 3.03 #1) id 12nN7W-0005X1-00; Thu, 04 May 2000 17:00:54 +0200 Date: Thu, 4 May 2000 17:00:54 +0200 From: Neil Blakey-Milner To: Nick Hibma Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/18373: pkg_delete shouldn't insist on root Message-ID: <20000504170054.A21029@mithrandr.moria.org> References: <200005041450.HAA76440@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <200005041450.HAA76440@freefall.freebsd.org>; from n_hibma@calcaphon.com on Thu, May 04, 2000 at 07:50:03AM -0700 Organization: Sunesi Clinical Systems X-Operating-System: FreeBSD 3.3-RELEASE i386 X-URL: http://rucus.ru.ac.za/~nbm/ Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu 2000-05-04 (07:50), Nick Hibma wrote: > The following reply was made to PR bin/18373; it has been noted by GNATS. > > From: Nick Hibma > 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 15:46:15 +0100 (BST) > > > 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. > > Example: libmm (used by a webserver) could then be deleted and the > webserver being brought down. Err, without having root? I'd love to see a non-root process delete things it doesn't have permissions for. This is for packages installed by yourself, owned by you, in your own package directory. > It _is_ a security risk. I don't think so, unless I missed something huge. 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