[gstreamer-bugs] [Bug 331295] gnomevfssink doesn't respect umask when creating files

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Feb 19 06:36:12 PST 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=331295
 GStreamer | gst-plugins-base | Ver: 0.10.x


Wim Taymans changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim at fluendo.com
             Status|NEW                         |RESOLVED
          Component|gst-plugins-good            |gst-plugins-base
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.4




------- Comment #2 from Wim Taymans  2006-02-19 14:36 UTC -------
        * ext/gnomevfs/gstgnomevfssink.c: (gst_gnome_vfs_sink_open_file):
        use 0666 mask when creating files so umask gets applied
        correctly. Fixes #331295.


wim at wtay:~/gst/head/gstreamer$ umask
0022
wim at wtay:~/gst/head/gstreamer$ rm /tmp/foo*
wim at wtay:~/gst/head/gstreamer$ gst-launch fakesrc num-buffers=1 ! gnomevfssink
location=file:///tmp/foo.tmp
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 12138000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...
wim at wtay:~/gst/head/gstreamer$ ls -la /tmp/foo*
-rw-r--r-- 1 wim wim 0 Feb 19 15:29 /tmp/foo.tmp
wim at wtay:~/gst/head/gstreamer$ rm /tmp/foo*
wim at wtay:~/gst/head/gstreamer$ umask 0000
wim at wtay:~/gst/head/gstreamer$ gst-launch fakesrc num-buffers=1 ! gnomevfssink
location=file:///tmp/foo.tmp
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 1441000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
FREEING pipeline ...
wim at wtay:~/gst/head/gstreamer$ ls -la /tmp/foo*
-rw-rw-rw- 1 wim wim 0 Feb 19 15:29 /tmp/foo.tmp
wim at wtay:~/gst/head/gstreamer$


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list