NiclasvanEyk / jetbrains-laravel-make-integration

🛠 A set of integration points that connect your Laravel application to PhpStorm
https://plugins.jetbrains.com/plugin/14612-make-for-laravel
37 stars 5 forks source link

Files with root permission when using sail PHP interpreter #49

Open nocttuam opened 2 years ago

nocttuam commented 2 years ago

When I use the PHP interpreter inside of the sail docker container, the files are created with root permission.

image

1º file: created using sail cli in terminal 2º file created using plugin with sail PHP interpreter 3º file created using local PHP interpreter

I'm using the configuration suggested in the documentation, and my system is: Zorin 16.1(based Ubuntu 20.04) PHPStorm 2022.1.1 Docker 20.10.16 Docker Compose v2.5.0

NiclasvanEyk commented 2 years ago

Found some time to reproduce this today. Definitely annoying!

Maybe we need to set some environment variables, like the sail script does: https://github.com/laravel/sail/blob/1.x/bin/sail#L126