# Writing permissions denied

**URL:** <https://discourse.julialang.org/t/writing-permissions-denied/25759>\
**Category:** General Usage\
**Created:** [June 27, 2019, 10:28am UTC](https://discourse.julialang.org/t/writing-permissions-denied/25759 "2019-06-27T10:28:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MartaVanin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/martavanin/32/14658_2.png) [@MartaVanin](https://discourse.julialang.org/u/MartaVanin)\
**Post date:** [June 27, 2019, 10:28am UTC](https://discourse.julialang.org/t/writing-permissions-denied/25759/1 "2019-06-27T10:28:03Z")

</div>

Hi!  
I have been working with julia about one year now.  
From a couple of days, I can start and work on my .jl files for a while, saving them regularly. However, after a few saving actions, I suddenly I can’t save them anymore (permission denied error).  
I use Atom 1.38.2 as editor and work on windows 10 Pro.  
I though it was an Atom problem at first, but the error reproduces when I open atom in safe mode. Also, even after closing atom, I still can’t delete or edit the file.  
The only thing that solves the problem is restarting my laptop. But again, the error repeats after a while I am working. Does anyone have an idea what’s going on?

---

<div class="post-metadata">

**Author:** ![oheil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oheil/32/220745_2.png) [@oheil](https://discourse.julialang.org/u/oheil)\
**Post date:** [June 27, 2019, 12:10pm UTC](https://discourse.julialang.org/t/writing-permissions-denied/25759/2 "2019-06-27T12:10:53Z")

</div>

The file is probably locked by some process which is still running and blocks writing access to the file.  
You may look into the task manager to see if there a some unexpected processes still running.

And you can use the Ressource Monitor to find out about open file handles: resmon.exe

On the CPU Tab mark all processes and enter the filename into the lower right text box (search handles or similar).
