[Slackbuilds-users] Wrong permissions for evdev-1.0.0-py2.7.egg-info files
Ed Ender
skaendo at excite.com
Tue Jul 3 23:45:08 UTC 2018
I thought that David had already fixed that:
https://git.slackbuilds.org/slackbuilds/commit/?id=57fb210c8
-----Original Message-----
From: "Willy Sudiarto Raharjo" [willysr at slackbuilds.org]
Date: 07/03/2018 06:29 PM
To: slackbuilds-users at slackbuilds.org
Subject: Re: [Slackbuilds-users] Wrong permissions for
evdev-1.0.0-py2.7.egg-info files
> 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
More information about the SlackBuilds-users
mailing list