Red Hat Bugzilla – Bug 124822
Docs of postgresql-python have bad permissions
Last modified: 2013-07-02 23:01:07 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6)
Description of problem:
None of the documentation files in postgresql-python (and possibly
other PostgreSQL packages?) are readable by ordinary users. I suggest
that they all be readable (and that the contained 'tutorial' directory
be executable) for "other", as well as user+group. Also, I suggest
that the .py files in the 'tutorial' directory be non-executable,
since the files are not meant to be run - only to be a source of
inspiration, as far as I kan see.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install postgresql-python.
2. Go to /usr/share/doc/postgresql-python-7.4.2 and do a "ls -lR"
It looks like the problem is unreasonably tight file permissions in
the upstream PyGreSQL-3.4 package. The RPM installation is relabeling
the files with root/root ownership but not changing the permissions.
I'll see what I can do about this for the next release.
I'm not sure about your suggestion that the .py files ought not be
executable --- they are so labeled (at least some of 'em) in the
upstream package, and I would assume that's intentional. I'll ask.
*** Bug 125783 has been marked as a duplicate of this bug. ***
Fixed in postgresql 7.4.3-1.