Skip to content

Commit dbb9952

Browse files
committed
permissions
1 parent 549a6c2 commit dbb9952

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

nodeapp.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ public function priv_change_web_domain_proxy_tpl( $args ) {
9696
];
9797
$args = $hcpp->do_action( 'nodeapp_copy_files', $args );
9898
$nodeapp_folder = $args['nodeapp_folder'];
99+
shell_exec( "chmod 751 " . escapeshellarg( $nodeapp_folder ) );
99100

100101
// Install dependencies
101102
$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

Comments
 (0)