Skip to content

Commit 8236e50

Browse files
committed
Fix permissions issue in ghost.php
1 parent 6dd232f commit 8236e50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ghost.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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 );

0 commit comments

Comments
 (0)