Bug 14664 - unreadable /usr/include/pgsql subdirectories
Summary: unreadable /usr/include/pgsql subdirectories
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: postgresql
Version: 6.2
Hardware: i386
OS: Linux
medium
low
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-07-26 14:20 UTC by charles
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-07-26 14:20:41 UTC
Embargoed:


Attachments (Terms of Use)

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".


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