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 265cad2 commit 5a72d75Copy full SHA for 5a72d75
nodeapp.php
@@ -107,7 +107,7 @@ public function priv_change_web_domain_proxy_tpl( $args ) {
107
];
108
$args = $hcpp->do_action( 'nodeapp_copy_files', $args );
109
$nodeapp_folder = $args['nodeapp_folder'];
110
- shell_exec( "chmod 751 " . escapeshellarg( $nodeapp_folder ) );
+ chmod( $nodeapp_folder, 0751 );
111
112
// Install dependencies
113
$cmd = 'runuser -s /bin/bash -l ' . $user . ' -c "cd \"' . $nodeapp_folder . '\" && export NVM_DIR=/opt/nvm && source /opt/nvm/nvm.sh && npm install"';
0 commit comments