I am using Magento2 on Debien 8, and after each change, lunch on
php bin / magento setup: update.
The problem here is when I'm taking this command, I need to give permission to the magento folder using this command in the Debian terminal
chmod -R 0777 magento2 (Folder)
Is there a solution to fix that?