Bug 463736 - mozilla-plugin-config can result in unreadable files
Summary: mozilla-plugin-config can result in unreadable files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: nspluginwrapper
Version: 9
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Martin Stransky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-09-24 13:20 UTC by Michael Young
Modified: 2008-10-17 10:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 521948 (view as bug list)
Environment:
Last Closed: 2008-10-17 10:32:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.