Permission issue when dealing with WSL

已回答

Hi,

I am using IDEA 2022.3 Ultimate on Windows 11 Pro for my gradle Java project. Recently I started to explore the IDEA + WSL setup. I have tried a few things but none of them worked:

  1. I tried to clone my repo in WSL, launch IDEA from Windows, and open the project on WSL. This setup simply makes the IDE hang whenever I try to select the JDK on WSL (the first time I open the project, the JDK for gradle still points to the Windows one so I have to manually fix it)
  2. I tried to clone the repo in windows, launch IDE in windows, but run my project using WSL as run target. This setup has a different issue: I am using protobuf codegen and during the build process it appears wsl is trying to chmod of a .proto file located on Windows, hence a permission error.
  3. Then finally I tried to clone the repo in wsl, install IDEA in wsl, and run the Windows IDEA but using the remote development options. This setup failed with "Worker binary deploy failed", again, permission issue. (log file uploaded: 2022_12_05_exLtURpjUyjxzHnb4fXMZY)

Any idea what might be off?

 

Thanks

 

0

Hello,

Please try to disable real-time antivirus protection and see if it helps.

0

请先登录再写评论。