Problems with php Artisan command using Laradock

Asked

Viewed 171 times

-1

Whenever I use the Artisan command of Laravel in my laradock Workspace to create a controller, a model or any other file I can neither save nor delete this generated file, the system (Linux Mint) asks me to put my user password. I have already tried to change the folder permission of my project by Workspace and the system itself, but whenever I run the Artisan command this permission changes and the problem persists.

1 answer

0


In order to be able to create files without having to exchange the permission every time, log in to Workspace using the command:

docker-compose exec --user=laradock workspace bash
  • Apparently it solved the problem. Thank you very much indeed.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.