File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,6 @@ public function setup( $args ) {
4343
4444 // Create nodeapp folder and 'Absolute' copy over ghost files
4545 $ cmd = "mkdir -p " . escapeshellarg ( $ ghost_folder ) . " ; " ;
46- $ cmd .= "chmod 751 " . escapeshellarg ( $ nodeapp_folder ) . " && " ;
4746 $ cmd .= __DIR__ . '/abcopy "/opt/ghost/" " ' . $ ghost_folder . '" && ' ;
4847 $ cmd .= "chown -R $ user: $ user " . escapeshellarg ( $ nodeapp_folder );
4948
@@ -52,6 +51,7 @@ public function setup( $args ) {
5251
5352 // Copy over ghost config files
5453 $ hcpp ->copy_folder ( __DIR__ . '/nodeapp ' , $ ghost_folder , $ user );
54+ chmod ( $ nodeapp_folder , 0751 );
5555
5656 // Cleanup, allocate ports, prepare nginx and prepare to start services
5757 $ hcpp ->nodeapp ->shutdown_apps ( $ nodeapp_folder );
You can’t perform that action at this time.
0 commit comments