I use Ubuntu 18 as WSL and everything was running well. Today I run the apache and started the application. When the app tried to perform chmod() on a file which was submited through form inside the folder project (I use Laravel), I received the following error:

chmod(): Operation not permitted

I have notice that this error happen when I try running chmod() from web server (www-data user). In the cli I dont have problems.

From other posts over the net, I understand that Windows has some changes regarding WSL permissions and drive mounts. But I didnt get answer or didnt succeed to resolve that issue.

0 Answers