Skip to content

Commit 7bfe60a

Browse files
committed
Create new dir with more secure permissions
1 parent d8a667d commit 7bfe60a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

migrations/setup_site_icons.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function configure_site_icons()
6767
// Create directory only if needed (give an empty index.htm too)
6868
if (!$filesystem->exists($new_icon_path))
6969
{
70-
$filesystem->mkdir($new_icon_path);
70+
$filesystem->mkdir($new_icon_path, 0755);
7171
$filesystem->touch($new_icon_path . '/index.htm');
7272
}
7373

0 commit comments

Comments
 (0)