Subject: pkg/24609: installing mozilla leaves root-owned directory in build tree
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mlelstv@serpens.de>
List: netbsd-bugs
Date: 02/29/2004 22:36:45
>Number: 24609
>Category: pkg
>Synopsis: installing mozilla leaves root-owned directory in build tree
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 29 21:37:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Michael van Elst
>Release: NetBSD 1.6.2
>Organization:
--
Michael van Elst
Internet: mlelstv@serpens.de
"A potential Snark may lurk in every tree."
>Environment:
System: NetBSD pepew 1.6.2 NetBSD 1.6.2 (PEPEW) #1: Mon Feb 23 23:34:11 MET 2004 src@pepew:/amd/fud/d/0/src/sys/arch/i386/compile/PEPEW i386
Architecture: i386
Machine: i386
>Description:
When you build and install www/mozilla as non-root then some approriate
su command (or sudo if configured) is called to perform the actual
installation. During the installation a root-owned directory .mozilla
is created in the package working directory that cannot be removed
by the build user. An update operation therefore fails too.
| ===> clean [mozilla-1.6nb1] ===> Cleaning for mozilla-1.6nb1
| rm: /usr/pkgwrk/www/mozilla/work.pepew/.mozilla: Permission denied
| rm: /usr/pkgwrk/www/mozilla/work.pepew: Directory not empty
| *** Error code 1
| find /usr/pkgsrc/www/mozilla/work.pepew/.mozilla -ls
| 3970 2 drwx------ 2 root staff 512 Feb 29 20:12 /usr/pkgsrc/www/mozilla/work.pepew/.mozilla
>How-To-Repeat:
Build mozilla-1.6nb1 (or also some earlier revs of 1.6).
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: