I'm trying to install magento 2.2.6 on my local server but i'm facing permission issues.

How to set read write permissions to generated folder in windows7 with command line.

Thank you.

  • Window dont need to set permission. Can you please show your error?
    – the light
    Commented Jan 10, 2019 at 7:10
  • you can set it from Properties and tick the Read-only Attributes
    – fmsthird
    Commented Jan 10, 2019 at 7:13

1 Answer 1


Try this

takeown /F


takeown /F C:\wamp\www\Magento\www\pub\static

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.