Subject: pkg/37257: sunbird creates preferences file with the wrong permission
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <smb@cs.columbia.edu>
List: pkgsrc-bugs
Date: 11/01/2007 00:40:00
>Number:         37257
>Category:       pkg
>Synopsis:       Sunbird creates a mode 444 prefs.js file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 01 00:40:00 +0000 2007
>Originator:     Steven M. Bellovin
>Release:        NetBSD 4.99.34
>Organization:
Department of Computer Science, Columbia University
>Environment:
	
	
System: NetBSD berkshire.machshav.com 4.99.34 NetBSD 4.99.34 (BERKSHIRE) #0: Sat Oct 20 17:52:19 EDT 2007 root@berkshire.machshav.com:/usr/BUILD/obj/sys/arch/i386/compile/BERKSHIRE i386
Architecture: i386
Machine: i386
>Description:
	Sunbird creates prefs.js in mode 444.  This makes it impossible to
	change preferences.
>How-To-Repeat:
	Do 'rm -rf ~/.mozilla/sunbird', fire it up, and check the permissions
	on ~/.mozilla/sunbird/*.default/prefs.js
>Fix:
	To bypass the problem, do
	chmod +w ~/.mozilla/sunbird/*.default/prefs.js

>Unformatted: