Skip to content

Commit a2321bf

Browse files
committed
Tighten permissions on test content dir
Remove world write permissions.
1 parent f1f6daf commit a2321bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/ITEnv.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ final private function __construct() { }
1616
*/
1717
public static function getTestContentDir(): string {
1818
$dir = self::getWordPressDir() . self::getTestContentPath();
19-
mkdir( $dir, 0777, true );
19+
mkdir( $dir, 0775, true );
2020
return $dir;
2121
}
2222

0 commit comments

Comments
 (0)