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

Willy Sudiarto Raharjo willysr at slackbuilds.org
Tue Jul 3 23:25:04 UTC 2018


> There is a problem with python-evdev package (which could have a general
> nature).
> 
> 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.

Thanks for spoting it.
It has been fixed in my branch


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180704/8521fa84/attachment.asc>


More information about the SlackBuilds-users mailing list