I'm using laragon in a windows 10 machine for a 2.2.3 Magento install. What folder permissions do I have to set?

By default, all folders are read-only (or so it seems). Currently, I set writable folders (and files): /var/ /pub/media /pub/static

3 Answers 3


Check the below link it will help you out https://devdocs.magento.com/guides/v2.0/install-gde/prereq/file-system-perms.html


You can give write permission by running below command in your CLI.

takeown /F <folder name>

For Example:

 takeown /F C:\wamp\www\Magento\www\pub\static
  • How to give write permission to vendor folder in windows 7? Is your takeown /F command okay? what about attrib?
    – zus
    Commented Dec 14, 2018 at 12:41

I hope so below link is use full for you.

Magento 2 folder/file permissions

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.