Bug 9384

Summary: Странные права на site-packages/sipdistutils.py (v4.3.2)
Product: Sisyphus Reporter: Fr. Br. George <george>
Component: python-module-sipAssignee: Grigory Ustinov <grenka>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: minor    
Priority: P3 CC: antohami, cas, cow, darktemplar, evg, george, grenka, imz, lav, mithraen, nbr, qa_viy, rider, sem, shaba, sin, slev, vitty, viy, zerg
Version: unstable   
Hardware: all   
OS: Linux   

Description Fr. Br. George 2006-04-08 12:50:22 MSD
Файл /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 Ivan Fedorov 2006-04-16 12:04:56 MSD
4.4.1-alt1