Subject: pkg/35596: Firefox2 installing default user profile read-only
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jasonb@myjclibrary.org>
List: pkgsrc-bugs
Date: 02/14/2007 02:05:01
>Number:         35596
>Category:       pkg
>Synopsis:       Firefox2 installing default user profile read-only
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 14 02:05:00 +0000 2007
>Originator:     Jason Boyer
>Release:        3.1
>Organization:
>Environment:
NetBSD janus.local 3.1 NetBSD 3.1 (GENERIC.MPACPI) #0: Tue Oct 31 04:47:22 UTC 2006  builds@b0.netbsd.org:/home/builds/ab/netbsd-3-1-RELEASE/i386/200610302053Z-obj/home/builds/ab/netbsd-3-1-RELEASE/src/sys/arch/i386/compile/GENERIC.MPACPI i386

>Description:
The files installed in (PLIST) lib/${MOZILLA}/defaults/* are all set to read only (mode 440) and when they're copied to the user's ~/.mozilla this isn't changed. So, until the permissions are corrected the user cannot save any preference or bookmark changes.

I'm currently using pkgsrc-2006Q4 as of Feb 3.
>How-To-Repeat:
Install www/firefox2, cd /usr/pkg/lib/firefox/defaults/*, ls -l
>Fix:
I don't have a fix. From what little I've seen of the firefox build process, the files come from work/mozilla/profile/defaults, where they have 644 permissions. I'm not brave enough to dig through the makefiles to find out where things are going awry.