Fix permission issues
parent
214c1414fb
commit
1c94337b89
|
@ -26,12 +26,7 @@ globals:
|
||||||
sftpPort: 22
|
sftpPort: 22
|
||||||
|
|
||||||
onInstall:
|
onInstall:
|
||||||
- cmd[cp]: |-
|
- cmd[cp]: bash <(curl -s https://deploy-proxy.mightybox.io/addons/add-sftp-user/raw/branch/main/install_sftp.sh)
|
||||||
curl -sO https://deploy-proxy.mightybox.io/addons/add-sftp-user/raw/branch/main/add-sftp.sh
|
|
||||||
chmod +x add-sftp.sh
|
|
||||||
echo -e "\nMatch User user*\nPasswordAuthentication yes" | sudo tee -a /etc/ssh/sshd_config
|
|
||||||
chown root:root /var/www/webroot/ROOT
|
|
||||||
chmod 755 /var/www/webroot/ROOT
|
|
||||||
- api: environment.control.ApplyNodeGroupData
|
- api: environment.control.ApplyNodeGroupData
|
||||||
nodeGroup: cp
|
nodeGroup: cp
|
||||||
data:
|
data:
|
||||||
|
@ -48,7 +43,7 @@ actions:
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
installSuccess:
|
installSuccess:
|
||||||
result: 0
|
type: success
|
||||||
message: "Installed Successfully"
|
message: "Installed Successfully"
|
||||||
sftpSuccess:
|
sftpSuccess:
|
||||||
type: success
|
type: success
|
||||||
|
|
Loading…
Reference in New Issue