Bug 9384 - Странные права на site-packages/sipdistutils.py (v4.3.2)
Summary: Странные права на site-packages/sipdistutils.py (v4.3.2)
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: python-module-sip (show other bugs)
Version: unstable
Hardware: all Linux
: P3 minor
Assignee: Grigory Ustinov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-08 12:50 MSD by Fr. Br. George
Modified: 2009-05-10 09:33 MSD (History)
20 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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