LoadError: IOError: mkdir("./../output"; mode=0o777): permission denied (EACCES)

I was using JLD2 package to save my data properly as below:

save("path/to/file.jld2", "N", N)

now I started to have this error:

ERROR: LoadError: IOError: mkdir("./../output"; mode=0o777): permission denied (EACCES)
Stacktrace:

Any idea why?

1 Like

Based on the error, perhaps you don’t have permission to create that directory?

I was using it before properly. Do you know how can I create a permission now?

@StefanKarpinski
I created new directory but the problem is still existing

Another new problem (which was not existed)

S = load("./../output/record.jld2", "S");

ERROR: LoadError: ArgumentError: No file exists at given path: ./../MyApp/record.jld2
Stacktrace:

Although the file is existed: