Problem with folder: logs/repl_history.jl

Hi, I am working with Ubuntu/Julia and, when I open julia, this problem
appear:

ERROR: SystemError: opening file /home/user/.julia/logs/repl_history.jl: Permission denied
Stacktrace:
** [1] #systemerror#39(::Nothing, ::Function, ::String, ::Bool) at ./error.jl:106**
** [2] systemerror at ./error.jl:106 [inlined]**
** [3] #open#293(::Bool, ::Bool, ::Bool, ::Nothing, ::Nothing, ::Function, ::String) at ./iostream.jl:283**
** [4] #open at ./none:0 [inlined]**
** [5] setup_interface(::REPL.LineEditREPL, ::Bool, ::Union{Dict, Array{#s576,1} where #s576<:Dict}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:849**
** [6] #setup_interface#47(::Bool, ::Union{Dict, Array{#s575,1} where #s575<:Dict}, ::Any, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:764**
** [7] setup_interface at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/REPL/src/REPL.jl:764 [inlined]**
** [8] (::getfield(Pkg, Symbol(“##1#2”)))(::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.0/Pkg/src/Pkg.jl:344**
** [9] __atreplinit(::REPL.LineEditREPL) at ./client.jl:311**
** [10] #invokelatest#1 at ./essentials.jl:697 [inlined]**
** [11] invokelatest at ./essentials.jl:696 [inlined]**
** [12] _atreplinit at ./client.jl:318 [inlined]**
** [13] (::getfield(Base, Symbol(“##718#720”)){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:354**
** [14] #invokelatest#1 at ./essentials.jl:697 [inlined]**
** [15] invokelatest at ./essentials.jl:696 [inlined]**
** [16] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:339**
** [17] exec_options(::Base.JLOptions) at ./client.jl:277**
** [18] _start() at ./client.jl:425**

[ Info: Disabling history file for this session

I would like to know if someone found this problem ? My version is 1.0.3

Thank you for your attention.

Have you changed the permissions of your /home/user/.julia/ directory? Is your user name user?

1 Like

My username is not user. I will change it. Thanks for your reply.