Fix permission issues
parent
214c1414fb
commit
1c94337b89
11
manifest.jps
11
manifest.jps
|
@ -26,12 +26,7 @@ globals:
|
|||
sftpPort: 22
|
||||
|
||||
onInstall:
|
||||
- cmd[cp]: |-
|
||||
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
|
||||
- cmd[cp]: bash <(curl -s https://deploy-proxy.mightybox.io/addons/add-sftp-user/raw/branch/main/install_sftp.sh)
|
||||
- api: environment.control.ApplyNodeGroupData
|
||||
nodeGroup: cp
|
||||
data:
|
||||
|
@ -48,7 +43,7 @@ actions:
|
|||
|
||||
responses:
|
||||
installSuccess:
|
||||
result: 0
|
||||
type: success
|
||||
message: "Installed Successfully"
|
||||
sftpSuccess:
|
||||
type: success
|
||||
|
@ -78,4 +73,4 @@ buttons:
|
|||
- settings: sfpform
|
||||
action: add_sftp_user
|
||||
caption: Add SFTP/SSH User
|
||||
confirmText: "Are you sure you want to add this SFTP user?"
|
||||
confirmText: "Are you sure you want to add this SFTP user?"
|
Loading…
Reference in New Issue