[Slackbuilds-users] Wrong permissions for evdev-1.0.0-py2.7.egg-info files

Alexander Verbovetsky alik at ejik.org
Tue Jul 3 20:05:07 UTC 2018


There is a problem with python-evdev package (which could have a general

Files in the directory
/usr/lib64/python2.7/site-packages/evdev-1.0.0-py2.7.egg-info/ have
permission 660 and, thus, unreadable by a non-root.

This breaks programs that use python-evdev, for example, whipper stops
with error:

IOError: [Errno 13] Permission denied: '/usr/lib64/python2.7/site-packages/evdev-1.0.0-py2.7.egg-info/PKG-INFO'

chmod 644 fixes the problem.

python-evdev.SlackBuild doesn't change permissions, so the similar
problem can occur for any python module.

I think that
python setup.py install
doesn't set correct permissions, hence SlackBuilds must fix permissions
after this. If I'm right, then the python template needs a correction.

Best regards,

More information about the SlackBuilds-users mailing list