FS#69520 - Erroneous path to global `startup.jl`"

Attached to Project: Community Packages
Opened by Johannes Graumann (balin) - Wednesday, 03 February 2021, 17:40 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 03 February 2021, 19:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The package appears to have an erroneous gloabal startup path hardcoded(?): `"/usr/bin/../etc/julia/startup.jl"`

I have been unable to discern where this (potentially) erroneous path definition to the global `startup.jl` comes from.
The standard `/etc/julia/startup.jl` is world executable and writable all the way (as expected).

Additional info:
* package version(s)
julia 2:1.5.3-2

Steps to reproduce:

When installing the `julia` package and trying to run a trivial script like so:

$ julia hello.jl

I get the following error:

ERROR: IOError: stat: permission denied (EACCES) for file "/usr/bin/../etc/julia/startup.jl"

Omitting the startup file like so:

$ julia --startup-file=no hello.jl

makes everything run just fine.
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 03 February 2021, 19:01 GMT
Reason for closing:  Fixed
Additional comments about closing:  julia 1.5.3-3

Loading...