0

I am download magento 2.0. Please tell me the folder and files permission for magento 2.0.

I give the 777 permission to all folders and files, setup wizard not working.

Thank you.

1

2 Answers 2

0

You can set the correct folder permissions like so:

find app/code pub/static app/etc var/generation var/di var/view_preprocessed vendor \( -type f -or -type d \) -exec chmod u-w {} \; && chmod o-rwx app/etc/env.php && chmod u+x bin/magento

You should never give a file the 777 permissions.

2
0

You need to reset all permission using following ssh command.

find . -type d -print0 | xargs -0 chmod 0755 && find . -type f -print0 | xargs -0 chmod 0644

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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