Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#71831 - [clojure] clojure.sh should not be installed as executable
Attached to Project:
Community Packages
Opened by Emanuele Torre (emanuele6) - Saturday, 14 August 2021, 02:18 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 03 September 2021, 09:24 GMT
Opened by Emanuele Torre (emanuele6) - Saturday, 14 August 2021, 02:18 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 03 September 2021, 09:24 GMT
|
DetailsDescription:
Hello, I had reported this via mail some time ago, but this has not been fixed yet. clojure.sh is wrongly (unnecessarily) installed with execution permissions. /etc/profile.d/ files don't need to be installed as executables as I had described in the email; it would be nice if community/clojure did not install it as such. 644 is a good set of permission for this files: core/perl, core/gawk and many other packages use it instead of 755. All it takes to solve this issue is to change this line of the PKGBUILD file from: install -Dm755 clojure.sh "$pkgdir/etc/profile.d/clojure.sh" to: install -Dm644 clojure.sh "$pkgdir/etc/profile.d/clojure.sh" Steps to reproduce: $ stat /etc/profile.d/clojure.sh |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Friday, 03 September 2021, 09:24 GMT
Reason for closing: Implemented
Friday, 03 September 2021, 09:24 GMT
Reason for closing: Implemented
The updated package will appear in [community] shortly.