After Magento2.2.6 Installation,getting this error. Even assign 777 permission.

1 exception(s): Exception #0 (Magento\Framework\Exception\FileSystemException): The path "frontend/Magento/luma/en_US/requirejs-config.js:///home/vnsmenco/public_html/pub/static/" is not writable


Try to run the following commands to assign permissions:

find ./pub/static -type d -exec chmod 777 {} \;
sudo chmod -R 777 /home/vnsmenco/public_html/pub/static/

I hope your home directory looke like this

/home/vnsmenco/public_html/Magento files here
  • funny thing is, whole directory of Static have 777 permission. – faisaljanjua Jul 30 '19 at 6:37
  • now JS and CSS are not loading, even change di.xml ( Symlink -> Copy ) – faisaljanjua Jul 30 '19 at 6:38
  • Did you check now the permissions? js and CSS will be solved next if your basic issue is addressed. – Mahmood Rehman Jul 30 '19 at 9:37
  • @yes, I post another question magento.stackexchange.com/questions/283760/… – faisaljanjua Jul 30 '19 at 10:43
  • If the current issue resolved with my answer then make it acceptable . Let me check your new question. – Mahmood Rehman Jul 30 '19 at 10:44

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.