Permission Denied Error whenever Create/Edit/Save Files using Atom - Windows Subsystem for Linux - WSL 1 #16459
-
Hello, One thing I noticed was that there has been "Permission denied" error whenever I created, edited, and saved input files and source codes using ATOM. So far, I have provided the permission to each file using "chmod +rw" command manually. As you expected, it is time consuming. Is there any way to give the permission to files created/modified by ATOM easily? Sincerely, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 32 replies
-
The first thing that comes to my mind - do you launch atom using Alternatively, do you install packages using the |
Beta Was this translation helpful? Give feedback.
-
If you need a quick fix I reckon you should un-install and re-install Atom. |
Beta Was this translation helpful? Give feedback.
-
For those who come across this later, the answer to this issue was that Atom in Windows was being used to edit files within Windows Subsystem for Linux. Windows does not do a great job handling the transition between the two OS environments and often causes issues related to corrupted files, file permissions, or other incompatibilities. Therefore, it is recommended that a Linux native editor is used. We recommend |
Beta Was this translation helpful? Give feedback.
-
The solution is to use WSL2 and access files through a virtual network share located at |
Beta Was this translation helpful? Give feedback.
The solution is to use WSL2 and access files through a virtual network share located at
\\wsl$\distribution\path
. I have gone through the effort of enabling autocompletion with native Atom on Windows with WSL2 based MOOSE installations.