Subject: pkg/35596: Firefox2 installing default user profile read-only
To: None <,,>
From: None <>
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
NetBSD janus.local 3.1 NetBSD 3.1 (GENERIC.MPACPI) #0: Tue Oct 31 04:47:22 UTC 2006 i386

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.
Install www/firefox2, cd /usr/pkg/lib/firefox/defaults/*, ls -l
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.