Problems with the php artisan command using Laradock

-1

Whenever I use Laravel's artisan command in my laradock workspace to create a controller, model or any other file I can not save or delete this generated file, the system (Linux Mint) asks me to place my user password. I have tried to change the permission of the folder of my project by the workspace and by the system itself, but whenever I execute the artisan command this permission changes and the problem persists.

    
asked by anonymous 18.08.2018 / 16:29

1 answer

0

To be able to create files without having to change the permission every time, enter the workspace using the command:

docker-compose exec --user=laradock workspace bash
    
18.08.2018 / 18:07