1

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

1 Answer 1

2

Try to run the following commands to assign permissions:

find ./pub/static -type d -exec chmod 777 {} \;
Or 
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
11
  • funny thing is, whole directory of Static have 777 permission. Commented Jul 30, 2019 at 6:37
  • now JS and CSS are not loading, even change di.xml ( Symlink -> Copy ) Commented Jul 30, 2019 at 6:38
  • 1
    Chmod 777 ?? Are you serious?
    – Black
    Commented Jul 7, 2020 at 9:24
  • 1
    @MahmoodRehman, If you are on a shared server, then other users can change files in your pub folder and manipulate your site as they wish or even delete files.
    – Black
    Commented Jul 7, 2020 at 14:16
  • 1
    Friends don't tell friends to chmod 777 ...
    – JinnKo
    Commented Dec 29, 2020 at 11:42

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.