The code I see is not checking for executable permission. If it did, it would see the 777 permissions are set already. It is calling the chmod operation on it regardless, and this is causing the error when it is a mounted windows volume in WSL2.
The code I see is not checking for executable permission. If it did, it would see the 777 permissions are set already. It is calling the chmod operation on it regardless, and this is causing the error when it is a mounted windows volume in WSL2.