# SOLVED -- JuliaPro-0.6.1.1 SystemError: opening file /home/.../Atom.ji

**URL:** https://discourse.julialang.org/t/solved-juliapro-0-6-1-1-systemerror-opening-file-home-atom-ji/8032
**Category:** New to Julia
**Tags:** question, package
**Created:** [December 28, 2017, 2:08am UTC](https://discourse.julialang.org/t/solved-juliapro-0-6-1-1-systemerror-opening-file-home-atom-ji/8032 "2017-12-28T02:08:21Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![r-handsfield](https://avatars.discourse-cdn.com/v4/letter/r/22d042/32.png) [@r-handsfield](https://discourse.julialang.org/u/r-handsfield)
#### Post date: [December 28, 2017, 2:08am UTC](https://discourse.julialang.org/t/solved-juliapro-0-6-1-1-systemerror-opening-file-home-atom-ji/8032/1 "2017-12-28T02:08:21Z")

</div>

Installed JuliaPro-0.6.1.1 on Ubuntu-16.04, in a parallel directory to base Julia-0.6.

Julia console in the JuliaPro installation of Atom always lead to a fatal error, which traced to this:

```julia
JuliaPro julia> using Atom
ERROR: SystemError: opening file /home/myName/.juliapro-0.6.1.1/lib/v0.6/Atom.ji: Permission denied
Stacktrace:
 [1] #systemerror#44 at ./error.jl:64 [inlined]
 [2] systemerror(::String, ::Bool) at ./error.jl:64
 [3] open(::String, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./iostream.jl:104
 [4] open(::String, ::String) at ./iostream.jl:132
 [5] stale_cachefile(::String, ::String) at ./loading.jl:777
 [6] _require_search_from_serialized(::Int64, ::Symbol, ::String, ::Bool) at ./loading.jl:228
 [7] _require(::Symbol) at ./loading.jl:441
 [8] require(::Symbol) at ./loading.jl:405

```

JuliaPro doesn’t have the proper permissions to open `Atom.ji`. Which seemed strange. So, comparing the installation directories of base Julia and JuliaPro:

```julia
$ ls -l ~/.julia/lib/v0.6/ | grep Atom.ji
-rw------- 1 myName myName 137120 Dec 27 20:45 Atom.ji

```

```julia
$ ls -l ~/.juliapro-0.6.1.1/lib/v0.6/ | grep Atom.ji
-rw------- 1 root root 142271 Dec 27 20:37 Atom.ji

```

JuliaPro installed all the `.ji` files as root. To test further, I deleted all the JuliaPro directories, including `~/.juliapro-0.6.1.1`, and reinstalled JuliaPro from the shell script, _without_ super user permissions.

Result: All the JuliaPro `.ji` files were still installed as root.

Solution: change the ownership. From bash terminal:

```julia
sudo chown myName ~/.juliapro-0.6.1.1/lib/v0.6/*.ji

```

Now the JuliaPro version of Atom/Juno works fine. Hope this helps other users.

---

<div class="post-metadata">

### Author: ![r-handsfield](https://avatars.discourse-cdn.com/v4/letter/r/22d042/32.png) [@r-handsfield](https://discourse.julialang.org/u/r-handsfield)
#### Post date: [December 28, 2017, 2:11am UTC](https://discourse.julialang.org/t/solved-juliapro-0-6-1-1-systemerror-opening-file-home-atom-ji/8032/2 "2017-12-28T02:11:16Z")

</div>

**tl;dr**

Changed the ownership of all the `.ji` files to my username.

---

<div class="post-metadata">

### Author: ![Tharsalys](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tharsalys/32/38414_2.png) [@Tharsalys](https://discourse.julialang.org/u/Tharsalys)
#### Post date: [July 31, 2022, 1:09pm UTC](https://discourse.julialang.org/t/solved-juliapro-0-6-1-1-systemerror-opening-file-home-atom-ji/8032/3 "2022-07-31T13:09:12Z")

</div>

Thanks for posting this. This issue still persists. What would be the windows equivalent of this solution?

I’m on Julia 1.7

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [July 31, 2022, 1:58pm UTC](https://discourse.julialang.org/t/solved-juliapro-0-6-1-1-systemerror-opening-file-home-atom-ji/8032/4 "2022-07-31T13:58:56Z")

</div>

Could you please start a new issue with your exact error output? The original post is from five years ago and the current issue is likely unrelated.
