We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5f36ab commit ebd9b78Copy full SHA for ebd9b78
nodebb.php
@@ -61,7 +61,6 @@ public function setup( $args ) {
61
62
// Create the nodeapp folder
63
$cmd = "mkdir -p " . escapeshellarg( $nodebb_folder ) . " ; ";
64
- $cmd .= "chmod 751 " . escapeshellarg( $nodeapp_folder ) . " && ";
65
$cmd .= "chown -R $user:$user " . escapeshellarg( $nodeapp_folder );
66
shell_exec( $cmd );
67
@@ -74,6 +73,7 @@ public function setup( $args ) {
74
73
75
// Copy over nodebb config files
76
$hcpp->copy_folder( __DIR__ . '/nodeapp', $nodebb_folder, $user );
+ chmod( $nodeapp_folder, 0751 );
77
78
// Cleanup, allocate ports, prepare nginx and start services
79
$hcpp->nodeapp->shutdown_apps( $nodeapp_folder );
0 commit comments