0

After giving 777 permission website not working I think issue with file permission ,can you have a look ,let me know what to do next to bring back to default permission Installed on aws ,rds,

file permission

0

please run below command to set perfect permission for magento in root path.

so if your root path is /var/www/html then please go to that path by

cd /var/www/html/

and then run below command one by one

set all directory permission to 775

find . -type d -exec chmod 775 {} \;

set all files permission to 664

find . -type f -exec chmod 664 {} \;

so all files permission of var, generated, vendor, pub/static, pub/media, app/etc directory to g+w by below command

sudo find var generated vendor pub/static pub/media app/etc -type f -exec chmod g+w {} \;

and all folder permission of var, generated, vendor, pub/static, pub/media, app/etc to g+ws.

sudo find var generated vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} \;

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.