Bug 14664 - unreadable /usr/include/pgsql subdirectories
unreadable /usr/include/pgsql subdirectories
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: postgresql (Show other bugs)
6.2
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Trond Eivind Glomsrxd
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-07-26 10:20 EDT by charles
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-07-26 10:20:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description charles 2000-07-26 10:20:39 EDT
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 10:27:45 EDT
This is fixed in the rawhide packages... as a fix for 6.2, just run a "chmod -R
a+rX /usr/include/pgsql".

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