Subject: pkg/27453: firefox-gtk2 installs files as root in work directory
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <mlelstv@serpens.de>
List: pkgsrc-bugs
Date: 10/25/2004 11:32:25
>Number:         27453
>Category:       pkg
>Synopsis:       firefox-gtk2 installs files as root in work directory
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 25 09:33:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michael van Elst
>Release:        NetBSD 2.0_RC4
>Organization:
-- 
                                Michael van Elst
Internet: mlelstv@serpens.de
                                "A potential Snark may lurk in every tree."
>Environment:
	
	
System: NetBSD pepew 2.0_RC4 NetBSD 2.0_RC4 (PEPEW) #1: Sun Oct 10 13:05:16 CEST 2004 src@pepew:/sys/arch/i386/compile/PEPEW i386
Architecture: i386
Machine: i386
>Description:
www/firefox-gtk2 can be built as an unprivileged user. However, during
installation some files are created as root in the work directory
so that a unprivileged 'make clean' fails.

===> clean [firefox-gtk2-0.10.1] ===> Cleaning for firefox-gtk2-0.10.1
rm: /usr/pkgwrk/www/firefox-gtk2/work.pepew/mozilla/dist/bin/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf: Permission denied
rm: /usr/pkgwrk/www/firefox-gtk2/work.pepew/mozilla/dist/bin/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}: Permission denied
rm: /usr/pkgwrk/www/firefox-gtk2/work.pepew/mozilla/dist/bin/extensions/Extensions.rdf: Permission denied
rm: /usr/pkgwrk/www/firefox-gtk2/work.pepew/mozilla/dist/bin/extensions/installed-extensions-processed.txt: Permission denied
rm: /usr/pkgwrk/www/firefox-gtk2/work.pepew/mozilla/dist/bin/extensions: Directory not empty
rm: /usr/pkgwrk/www/firefox-gtk2/work.pepew/mozilla/dist/bin: Directory not empty
rm: /usr/pkgwrk/www/firefox-gtk2/work.pepew/mozilla/dist: Directory not empty
rm: /usr/pkgwrk/www/firefox-gtk2/work.pepew/mozilla: Directory not empty
rm: /usr/pkgwrk/www/firefox-gtk2/work.pepew: Directory not empty
*** Error code 1

Please see pkg/24609 for a similar problem with mozilla.

>How-To-Repeat:
Build firefox-gtk2 as an unprivileged user, install it and try to
'make clean'.

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: