BUG 8462 : "Directories are created with overly permissive settings"
Solution : set shared directory permissions mode to 770
This commit is contained in:
1
workflow/engine/controllers/installer.php
Normal file → Executable file
1
workflow/engine/controllers/installer.php
Normal file → Executable file
@@ -289,6 +289,7 @@ class Installer extends Controller
|
|||||||
if (is_dir( $aux['dirname'] )) {
|
if (is_dir( $aux['dirname'] )) {
|
||||||
if (! file_exists( $_REQUEST['pathLogFile'] )) {
|
if (! file_exists( $_REQUEST['pathLogFile'] )) {
|
||||||
@file_put_contents( $_REQUEST['pathLogFile'], '' );
|
@file_put_contents( $_REQUEST['pathLogFile'], '' );
|
||||||
|
chmod($_REQUEST['pathShared'], 0770);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user