FS#77093 - [bash-language-server] 4.4.0 doesn't start with error 'permission denied'

Attached to Project: Community Packages
Opened by bonob (bonob) - Wednesday, 11 January 2023, 17:35 GMT
Last edited by Daniel M. Capella (polyzen) - Wednesday, 11 January 2023, 20:14 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Daniel M. Capella (polyzen)
Maxim Baz (maximbaz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

4.4.0 fails with an error "permission denied: bash-language-server"

Steps to reproduce:
$ bash-language-server -v

In 4.4.0, the main executable was changed from `/usr/lib/bash-language-server/bin/main.js` to `/usr/lib/bash-language-server/out/cli.js`.
While the former was executable, the latter is not.
Issuing
# chmod +x /usr/lib/bash-language-server/out/cli.js
fixes the issue.

I'm unclear if the executable flag should come from the build system, and if that should be reported upstream?
This task depends upon

Closed by  Daniel M. Capella (polyzen)
Wednesday, 11 January 2023, 20:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  4.4.0-2
Comment by bonob (bonob) - Wednesday, 11 January 2023, 17:38 GMT
I forgot the title and don't find a way to edit it. I meant to put "4.4.0 doesn't start with error 'permission denied'"

Loading...