Bug 14664

Summary: unreadable /usr/include/pgsql subdirectories
Product: [Retired] Red Hat Linux Reporter: charles
Component: postgresqlAssignee: Trond Eivind Glomsrxd <teg>
Status: CLOSED RAWHIDE QA Contact:
Severity: low Docs Contact:
Priority: medium    
Version: 6.2CC: charles
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-07-26 14:20:41 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 charles 2000-07-26 14:20:39 UTC
I assume that nothing in /usr/include should be only readable by root...

bash$ rpm -q postgresql-devel
postgresql-devel-6.5.3-6
bash$ rpm -qlv postgresql-devel | egrep
'^.([^r]......|...[^r]...|......[^r])'
drwx------     root     root         1024 Feb 12 13:00
/usr/include/pgsql/catalog
drwx------     root     root         1024 Feb 12 13:00
/usr/include/pgsql/nodes
drwx------     root     root         1024 Feb 12 13:00
/usr/include/pgsql/parser
drwx------     root     root         1024 Feb 12 13:00
/usr/include/pgsql/rewrite
drwx------     root     root         1024 Feb 12 13:00
/usr/include/pgsql/storage
drwx------     root     root         1024 Feb 12 13:00
/usr/include/pgsql/tcop

The proper permissions for these directories would probably be 0755.

Comment 1 Trond Eivind Glomsrxd 2000-07-26 14:27:45 UTC
This is fixed in the rawhide packages... as a fix for 6.2, just run a "chmod -R
a+rX /usr/include/pgsql".