Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Add read permission to /usr/bin/tor-browser prorived by https://aur.archlinux.org/packages/tor-browser/ because it sometimes lacks read permission for others (i.e. equals to 0751 in chmod)
diff --git a/PKGBUILD b/PKGBUILD
index 71c3695..78682f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -142,7 +142,7 @@ package() {
install -dm755 "${pkgdir}/usr/bin"
sed "${_sed_subst}" "${pkgname}.in" > "${pkgdir}/usr/bin/${pkgname}"
- chmod +x "${pkgdir}/usr/bin/${pkgname}"
+ chmod +rx "${pkgdir}/usr/bin/${pkgname}"
install -Dm 644 "${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment