From: pbui <pbui@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] python3-grako: fix permissions
Date: Sun, 27 Sep 2020 16:29:37 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25131@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1012 bytes --]
There is a new pull request by pbui against master on the void-packages repository
https://github.com/pbui/void-packages python3-grako
https://github.com/void-linux/void-packages/pull/25131
python3-grako: fix permissions
@sgn
chmod +r files in Python3 site-packages to make them world/other
readable.
Currently the files are installed with the following permissions:
```
ll /usr/lib/python3.8/site-packages/grako-3.99.9-py3.8.egg-info/
total 36K
-rw-r----- 1 root root 11K Sep 27 00:09 PKG-INFO
-rw-r----- 1 root root 3.1K Sep 27 00:09 SOURCES.txt
-rw-r----- 1 root root 1 Sep 27 00:09 dependency_links.txt
-rw-r----- 1 root root 38 Sep 27 00:09 entry_points.txt
-rw-r----- 1 root root 1 Sep 27 00:09 not-zip-safe
-rw-r----- 1 root root 22 Sep 27 00:09 requires.txt
-rw-r----- 1 root root 6 Sep 27 00:09 top_level.txt
```
This prevents programs such as `qutebrowser` from running.
A patch file from https://github.com/void-linux/void-packages/pull/25131.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python3-grako-25131.patch --]
[-- Type: text/x-diff, Size: 939 bytes --]
From 28d9e45bc11bc34fdf20d1b563420763dae04bcf Mon Sep 17 00:00:00 2001
From: Peter Bui <pbui@github.bx612.space>
Date: Sun, 27 Sep 2020 10:24:07 -0400
Subject: [PATCH] python3-grako: fix permissions
chmod +r files in Python3 site-packages to make them world/other
readable.
---
srcpkgs/python3-grako/template | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/python3-grako/template b/srcpkgs/python3-grako/template
index f3e1258003c..cace671dc2a 100644
--- a/srcpkgs/python3-grako/template
+++ b/srcpkgs/python3-grako/template
@@ -1,7 +1,7 @@
# Template file for 'python3-grako'
pkgname=python3-grako
version=3.99.9
-revision=5
+revision=6
wrksrc="grako-$version"
build_style=python3-module
hostmakedepends="python3-setuptools python3-Cython"
@@ -19,5 +19,6 @@ pre_build() {
sed -i '/setup_requires=/d' setup.py
}
post_install() {
+ chmod -R +r "${DESTDIR}/${py3_sitelib}"
vlicense LICENSE.txt
}
next reply other threads:[~2020-09-27 14:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-27 14:29 pbui [this message]
2020-09-27 14:33 ` ericonr
2020-09-27 14:44 ` [PR PATCH] [Updated] " pbui
2020-09-27 14:45 ` pbui
2020-09-27 16:37 ` ericonr
2020-09-27 16:42 ` [PR PATCH] [Merged]: " ericonr
2020-09-28 12:08 ` sgn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-25131@inbox.vuxu.org \
--to=pbui@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).