mirror of
https://github.com/YunoHost-Apps/ssh_chroot_dir_ynh.git
synced 2024-09-03 20:26:26 +02:00
Fix permissions
This commit is contained in:
parent
1d32096633
commit
85ba2ed205
4 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/maniackcrudelis/ssh_chroot/archive/v1.2.tar.gz
|
||||
SOURCE_SUM=e3b1d77aff02189e3c237bf68df8b171e49fbdb8837e0df55d61b28121138e81
|
||||
SOURCE_URL=https://github.com/maniackcrudelis/ssh_chroot/archive/v1.3.tar.gz
|
||||
SOURCE_SUM=d44b51f8d838fc9f929e6048b825c8f74d52f6a254764527bce1ed4a4c558652
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "ssh chroot directories with quotas disk.",
|
||||
"fr": "Dossier ssh en chroot avec gestion de quotas."
|
||||
},
|
||||
"version": "1.2~ynh4",
|
||||
"version": "1.3~ynh1",
|
||||
"url": "https://github.com/maniackcrudelis/ssh_chroot",
|
||||
"upstream": {
|
||||
"license": "GPL-3.0",
|
||||
|
|
|
@ -143,6 +143,9 @@ then
|
|||
fi
|
||||
ynh_print_ON
|
||||
|
||||
# Allow the user to use ssh
|
||||
adduser $ssh_user ssh.app
|
||||
|
||||
#=================================================
|
||||
# ADD A LINK TO CHROOT_MANAGER
|
||||
#=================================================
|
||||
|
|
|
@ -85,6 +85,9 @@ then
|
|||
ssh_chroot_set_permissions "$user_dir" $ssh_user
|
||||
fi
|
||||
|
||||
# Allow the user to use ssh
|
||||
adduser $ssh_user ssh.app
|
||||
|
||||
#=================================================
|
||||
# UPDATE THE LINK TO CHROOT_MANAGER
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue