Bug 9384 - Странные права на site-packages/sipdistutils.py (v4.3.2)
: Странные права на site-packages/sipdistutils.py (v4.3.2)
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/python-module-sip)
: unstable
: all Linux
: P3 minor
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2006-04-08 12:50 by
Modified: 2009-05-10 09:33 (History)


Attachments


Note

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


Description From 2006-04-08 12:50:22
Файл /usr/lib/python2.4/site-packages/sipdistutils.py имеет права 600, отчего
не
работает help(), и, возможно, что-то ещё. Не придумал, зачем ему такие права.

Steps to Reproduce:
1. python
2. help("modules sipdistutils")
Actual Results:  
Here is a list of matching modules.  Enter any module name to get more help.

Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.4/site.py", line 328, in __call__
    return pydoc.help(*args, **kwds)
  File "/usr/lib/python2.4/pydoc.py", line 1647, in __call__
    self.help(request)
  File "/usr/lib/python2.4/pydoc.py", line 1686, in help
    self.listmodules(split(request)[1])
  File "/usr/lib/python2.4/pydoc.py", line 1790, in listmodules
    apropos(key)
  File "/usr/lib/python2.4/pydoc.py", line 1900, in apropos
    ModuleScanner().run(callback, key)
  File "/usr/lib/python2.4/pydoc.py", line 1886, in run
    desc = synopsis(path) or ''
  File "/usr/lib/python2.4/pydoc.py", line 182, in synopsis
    file = open(filename)
IOError: [Errno 13] Permission denied:
'/usr/lib/python2.4/site-packages/sipdistutils.py'
------- Comment #1 From 2006-04-16 12:04:56 -------
4.4.1-alt1