File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,16 +47,16 @@ public static function createRequiredFiles(Event $event) {
47
47
],
48
48
];
49
49
drupal_rewrite_settings ($ settings , $ drupalRoot . '/sites/default/settings.php ' );
50
- $ fs ->chmod ($ drupalRoot . '/sites/default/settings.php ' , 0666 );
51
- $ event ->getIO ()->write ("Created a sites/default/settings.php file with chmod 0666 " );
50
+ $ fs ->chmod ($ drupalRoot . '/sites/default/settings.php ' , 0664 );
51
+ $ event ->getIO ()->write ("Created a sites/default/settings.php file with chmod 0664 " );
52
52
}
53
53
54
- // Create the files directory with chmod 0777
54
+ // Create the files directory with chmod 0775
55
55
if (!$ fs ->exists ($ drupalRoot . '/sites/default/files ' )) {
56
56
$ oldmask = umask (0 );
57
- $ fs ->mkdir ($ drupalRoot . '/sites/default/files ' , 0777 );
57
+ $ fs ->mkdir ($ drupalRoot . '/sites/default/files ' , 0775 );
58
58
umask ($ oldmask );
59
- $ event ->getIO ()->write ("Created a sites/default/files directory with chmod 0777 " );
59
+ $ event ->getIO ()->write ("Created a sites/default/files directory with chmod 0775 " );
60
60
}
61
61
}
62
62
You can’t perform that action at this time.
0 commit comments