[gstreamer-bugs] [Bug 564056] New: Protect against umask(0177)
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Dec 10 16:03:40 PST 2008
If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
http://bugzilla.gnome.org/show_bug.cgi?id=564056
GStreamer | gstreamer (core) | Ver: HEAD CVS
Summary: Protect against umask(0177)
Product: GStreamer
Version: HEAD CVS
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: behdad at gnome.org
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
I found this bug because I mistakenly added a "umask(0177)" to
gnome-settings-daemon. This causes both fontconfig and gstreamer to create
their cache directory with that umask, effectively making it unusable. This
was causing gstreamer to fail to update cache in its forked child, then trying
again from parent, failing there too and deciding to die, crashing my
gnome-settings-daemon process! I predicted that out in my previous mail...
Anyway, other than not retrying from the parent, gstreamer should:
1) chmod() its directory after creating,
2) If writing to directory fails, try again after a chmod.
That's also what I'm going to make fontconfig do.
More details (much more than you'd ever want to read) at:
http://mces.blogspot.com/2008/12/improving-login-time-part-3.html
--
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.
You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=564056.
More information about the gstreamer-bugs
mailing list