Community Packages

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!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Very Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
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
Comment by Alexander F. Rødseth (xyproto) - Friday, 03 September 2021, 09:07 GMT
Hi, thanks for the bug report. Please report issues here instead of by e-mail.

The updated package will appear in [community] shortly.

Loading...