Subject: Re: why does pkg_delete require root privileges?
To: None <tech-pkg@netbsd.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: tech-pkg
Date: 03/04/2002 23:37:44
On Tue, Mar 05, 2002 at 02:23:48AM +0100, Xavier HUMBERT wrote:
> In message <20020304162657.Z29114@goldberry.poofy.goof.com>,
> Aaron J. Grier wrote:
> 
> >mtree performs chown and chmod operations.  you can't chown if you
> >aren't root.
> 
> You can sudo it.

but if you sudo, then you become root, and the test for rootness
succeeds and everything works as designed.

-- 
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
      "[...] I generally haven't found IDM guys to be very good
       live acts, most of them just sit down at their laptop and
       tweak reaktor."  -- Brandon Daniel