mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
python-prettytable: fix files permissions
Got this runtime error: IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/prettytable-0.7.2-py2.7.egg-info/PKG-INFO' After some investigation, it looks like the pypi package is the culprit as almost all the files in the tar.gz are set to 600 instead of 644. Signed-off-by: Marc Ferland <ferlandm@amotus.ca> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
parent
3af551405e
commit
1e322de8e6
|
|
@ -15,7 +15,7 @@ S = "${WORKDIR}/${SRCNAME}-${PV}"
|
|||
inherit setuptools
|
||||
|
||||
do_install_append() {
|
||||
perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "top_level.txt"`
|
||||
perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"`
|
||||
for f in $perm_files; do
|
||||
chmod 644 "${f}"
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user