Bug 240238

Summary: wrong permissions on /usr/include/gstreamer-0.10/gst/*
Product: [Fedora] Fedora Reporter: Ben Liblit <liblit>
Component: gstreamer-plugins-baseAssignee: Adam Jackson <ajax>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: mattdm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-18 18:40:49 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 Ben Liblit 2007-05-15 21:54:45 UTC
+++ This bug was initially created as a clone of Bug #211802 +++

Description of problem:


Version-Release number of selected component (if applicable):

gstreamer-plugins-base-devel-0.10.12-2.fc7


How reproducible:

Consistently reproducible.


Steps to Reproduce:
1. remove the gstreamer-plugins-base-devel rpm
2. manually remove
/usr/include/gstreamer-0.10/gst/{audio,cdda,floatcast,interfaces,netbuffer,pbutils,riff,rtp,tag,video}
3. reinstall the gstreamer-plugins-base-devel rpm
4. as non-root, compile any C program that uses gstreamer-plugins-base-devel headers

Actual results:

Compilation fails due to insufficient permissions on one or more of the
following /usr/include/gstreamer-0.10/gst subdirectories:

	/usr/include/gstreamer-0.10/gst/audio
	/usr/include/gstreamer-0.10/gst/cdda
	/usr/include/gstreamer-0.10/gst/floatcast
	/usr/include/gstreamer-0.10/gst/interfaces
	/usr/include/gstreamer-0.10/gst/netbuffer
	/usr/include/gstreamer-0.10/gst/pbutils
	/usr/include/gstreamer-0.10/gst/riff
	/usr/include/gstreamer-0.10/gst/rtp
	/usr/include/gstreamer-0.10/gst/tag
	/usr/include/gstreamer-0.10/gst/video


Expected results:

Compilation should succeed.  Subdirectories containing
gstreamer-plugins-base-devel's headers
should be world readable and world executable.

Additional info:

The gstreamer-plugins-base-devel package does not claim to own the affected
subdirectories, though it does claim ownership of the headers in these
directories.  These directories are created at package install time, but with
permissions that do not allow access by non-root users.  Incidentally, this will
also cause the directory to be left behind, empty, should
gstreamer-plugins-base-devel be uninstalled later.

Comment 1 Adam Jackson 2007-05-18 18:40:49 UTC
Fixed in 0.10.12-3.  Thanks!