Hi,
I have notice that after installation 2.2.5, after cron setup, after file and folder permissions, after everything working fine, some folders within var are owned by www-data instead of web user (usually magento, in my case iero), i was wondering if i did something wrong, i hope nothing broke in the near future, im just informing, i dont have any issue yet
I downloaded via compser and installed via web
Before installation i run:
find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} \;
find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} \;
chmod u+x bin/magento
After installation I run:
chmod 555 /var/www/html/app/etc
Is there something else i have to do?
Regards
Solved! Go to Solution.
some of your processes have different owners,
everything you have in the system related to your magento 2 installation must be owned by the same user.
php running - www-data
magento files installed - iero
ftp managed - iero
no problems if you have proper permissions for both users.
etc
Hello @PaginasWebdotPE,
Please run below command in magento root directory
find . -type f -exec chmod 644 {} \; find . -type d -exec chmod 755 {} \; find ./var -type d -exec chmod 777 {} \; find ./pub/media -type d -exec chmod 777 {} \; find ./pub/static -type d -exec chmod 777 {} \; chmod 777 ./app/etc chmod 644 ./app/etc/*.xml
If you still got an issue then let us know.
--
If my answer is useful, please Accept as Solution & give Kudos
some of your processes have different owners,
everything you have in the system related to your magento 2 installation must be owned by the same user.
php running - www-data
magento files installed - iero
ftp managed - iero
no problems if you have proper permissions for both users.
etc