Last active
February 6, 2021 16:40
-
-
Save nosada/12b272b659cb1c2ddc4130d0bd2d003a to your computer and use it in GitHub Desktop.
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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