NetBSD Problem Report #24609

Received: (qmail 18626 invoked by uid 605); 29 Feb 2004 21:36:57 -0000
Message-Id: <200402292136.i1TLajO11622@pepew.1st.de>
Date: Sun, 29 Feb 2004 22:36:45 +0100 (MET)
From: mlelstv@serpens.de
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: mlelstv@serpens.de
To: gnats-bugs@gnats.netbsd.org
Subject: installing mozilla leaves root-owned directory in build tree
X-Send-Pr-Version: 3.95

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 29 21:37:00 +0000 2004
>Closed-Date:    Sat Jun 05 21:36:42 +0000 2004
>Last-Modified:  Sat Jun 05 21:36:42 +0000 2004
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: taya 
State-Changed-When: Tue Jun 1 15:47:22 UTC 2004 
State-Changed-Why:  
Commit fix. 

From: "Shin'ichiro TAYA" <taya@NetBSD.org>
To: mlelstv@serpens.de
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/24609: installing mozilla leaves root-owned directory in
 build tree
Date: Wed, 02 Jun 2004 00:49:29 +0900 (JST)

 Hi, I've commited patches for this issue.
 Could you update your pkgsrc tree and verify this?

From: Michael van Elst <mlelstv@serpens.de>
To: "Shin'ichiro TAYA" <taya@NetBSD.org>
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/24609: installing mozilla leaves root-owned directory in build tree
Date: Sat, 5 Jun 2004 19:06:48 +0200

 On Wed, Jun 02, 2004 at 12:49:29AM +0900, Shin'ichiro TAYA wrote:
 > Hi, I've commited patches for this issue.
 > Could you update your pkgsrc tree and verify this?

 Seems to be fixed now. Thanks :)

 -- 
                                 Michael van Elst
 Internet: mlelstv@serpens.de
                                 "A potential Snark may lurk in every tree."
State-Changed-From-To: feedback->closed 
State-Changed-By: snj 
State-Changed-When: Sat Jun 5 21:36:07 UTC 2004 
State-Changed-Why:  
Fixed. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.