Similarly to what described in https://www.drupal.org/node/244924, which is for Drupal 7, is there any script to set the right permissions for Drupal 8?

How can we take care of the file permissions for contributed modules? For example, I know a few modules which would have different permissions for files like .htaccess and other private folders in the modules. Is there a way we can reset the file permissions to initial versions?

  • 3
    I have found no difference between permissions in Drupal 7 and Drupal 8. – mradcliffe Jun 27 '16 at 13:35
  • 2
    Same, I think this article is pretty much valid for D8 as well. – ssibal Jun 28 '16 at 8:32

I've been running the same script included on that page for sites running either Drupal 7 or Drupal 8, with no adverse effects. I would recommend just using that.

| improve this answer | |

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.