We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6dd232f commit 8236e50Copy full SHA for 8236e50
1 file changed
ghost.php
@@ -43,7 +43,6 @@ public function setup( $args ) {
43
44
// Create nodeapp folder and 'Absolute' copy over ghost files
45
$cmd = "mkdir -p " . escapeshellarg( $ghost_folder ) . " ; ";
46
- $cmd .= "chmod 751 " . escapeshellarg( $nodeapp_folder ) . " && ";
47
$cmd .= __DIR__ . '/abcopy "/opt/ghost/" "' . $ghost_folder . '" && ';
48
$cmd .= "chown -R $user:$user " . escapeshellarg( $nodeapp_folder );
49
@@ -52,6 +51,7 @@ public function setup( $args ) {
52
51
53
// Copy over ghost config files
54
$hcpp->copy_folder( __DIR__ . '/nodeapp', $ghost_folder, $user );
+ chmod( $nodeapp_folder, 0751 );
55
56
// Cleanup, allocate ports, prepare nginx and prepare to start services
57
$hcpp->nodeapp->shutdown_apps( $nodeapp_folder );
0 commit comments