FS#72178 - [mercurial] package installs an /etc/profile.d/ file as executable unnecessarily
Attached to Project:
Arch Linux
Opened by Emanuele Torre (emanuele6) - Monday, 20 September 2021, 04:33 GMT
Last edited by Antonio Rojas (arojas) - Friday, 24 September 2021, 17:39 GMT
Opened by Emanuele Torre (emanuele6) - Monday, 20 September 2021, 04:33 GMT
Last edited by Antonio Rojas (arojas) - Friday, 24 September 2021, 17:39 GMT
|
Details
Description:
This package installs an /etc/profile.d/ file ( mercurial.sh ) as executable unnecessarily; /etc/profile.d/ files only need to be readable since they are "sourced", not executed. It would be nicer to install it with 644 permissions (as most other packages do). All that needs to change is this line of the PKGBUILD file from: install -m755 "$srcdir/mercurial.profile" "$pkgdir/etc/profile.d/mercurial.sh" to: install -m644 "$srcdir/mercurial.profile" "$pkgdir/etc/profile.d/mercurial.sh" Cheers, emanuele6 |
This task depends upon
Closed by Antonio Rojas (arojas)
Friday, 24 September 2021, 17:39 GMT
Reason for closing: Fixed
Additional comments about closing: mercurial 5.9.1-2
Friday, 24 September 2021, 17:39 GMT
Reason for closing: Fixed
Additional comments about closing: mercurial 5.9.1-2