=8<============================================================= evg@thinkpad ~ $yandex-tank -f -v Traceback (most recent call last): File "/usr/bin/yandex-tank", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3142, in <module> @_call_aside File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3126, in _call_aside f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3155, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 655, in _build_master ws = cls() File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 648, in __init__ self.add_entry(entry) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 704, in add_entry for dist in find_distributions(entry, True): File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2049, in find_on_path for dist in factory(fullpath): File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2119, in distributions_from_metadata root, entry, metadata, precedence=DEVELOP_DIST, File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2556, in from_location py_version=py_version, platform=platform, **kw File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2896, in _reload_version md_version = _version_from_file(self._get_metadata(self.PKG_INFO)) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2521, in _version_from_file line = next(iter(version_lines), '') File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2689, in _get_metadata for line in self.get_metadata_lines(name): File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1490, in get_metadata_lines return yield_lines(self.get_metadata(name)) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1486, in get_metadata value = self._get(self._fn(self.egg_info, name)) File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1595, in _get with open(path, 'rb') as stream: IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/json2yaml-1.1.1-py2.7.egg-info/PKG-INFO' [1] 17612 exit 1 yandex-tank -f -v evg@thinkpad ~ $yandex-tank -f -v 2>&1 |egrep -io '/.+\.py' |sort -u |xargs rpm -qf python-module-setuptools-36.6.0-alt1.S1.noarch =8<============================================================= Режим ко всем файлам в каталоге 640 там где должен быть 644.
У пакета python-module-setuptools у всех файлов права доступа 644. А вот у файла /usr/lib/python2.7/site-packages/json2yaml-1.1.1-py2.7.egg-info/PKG-INFO из пакета json2yaml действительно права доступа 640.
json2yaml-1.1.1-alt2 -> sisyphus: Thu Nov 02 2017 Aleksei Nikiforov <darktemplar@altlinux> 1.1.1-alt2 - Rebuilt to fix file permissions (closes: #34045)