Create folders and files with right Linux user and permissions
Hi ! I'm using PHPSTORM in Ubuntu WSL, so when I create folders or files it does it with root linux user, and I need to create them with my own linux user and permissions 777. How do I configure this ?
Please sign in to leave a comment.
Hi,
There is no way to specify user on the IDE side and it should use the same user account that you are currently logged in with.
If you are using IDE on Windows and open a project via the \\wsl$ share, you may want to change a default WSL user in the /etc/wsl.conf file: https://learn.microsoft.com/en-us/windows/wsl/wsl-config#user-settings