Skip to content

Comments

Harden default Drupal scaffold file permissions#38

Open
doxigo wants to merge 1 commit into11.xfrom
fix/harden-permissions
Open

Harden default Drupal scaffold file permissions#38
doxigo wants to merge 1 commit into11.xfrom
fix/harden-permissions

Conversation

@doxigo
Copy link

@doxigo doxigo commented Feb 19, 2026

Replace defaults in composer scaffold script

  • Use 0644 for settings.php
  • Use 0775 for sites/default/files
  • Fancier syntax

Replace defaults in composer scaffold script
- Use 0644 for `settings.php`
- Use 0775 for `sites/default/files`
@doxigo doxigo requested a review from szeidler February 19, 2026 07:27
@szeidler
Copy link
Member

@doxigo Looks alright for me. On our servers the permissions might be overwritten. Could you test it on a project that gets deployed?

@doxigo
Copy link
Author

doxigo commented Feb 20, 2026

I'll test and get back to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants