Bug 463736

Summary: mozilla-plugin-config can result in unreadable files
Product: [Fedora] Fedora Reporter: Michael Young <m.a.young>
Component: nspluginwrapperAssignee: Martin Stransky <stransky>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: caillon, stransky, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 521948 (view as bug list) Environment:
Last Closed: 2008-10-17 10:32:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Young 2008-09-24 13:20:20 UTC
If run by a user with a narrow umask such as 077, any files generated by running mozilla-plugin-config are readable only by root (ie. owner root, permissions -rwx------), thus the user can't actually use them, and nor can anyone else. It should set sensible file permissions on such files and not rely on the user's umask setting.

To reproduce:
umask 077
/usr/bin/mozilla-plugin-config -i -f

Comment 1 Martin Stransky 2008-10-17 10:32:46 UTC
added to rawhide - nspluginwrapper-1.1.2-2.fc10