mirror of
https://github.com/YunoHost-Apps/rainloop_ynh.git
synced 2024-09-03 20:16:18 +02:00
[fix] Pgpback keys folder
This commit is contained in:
parent
2b0d91b22b
commit
a76e73497d
1 changed files with 4 additions and 1 deletions
|
@ -121,7 +121,9 @@ CHECK_DOMAINPATH
|
|||
|
||||
# Install PGPback by chtixof to allow users to backup/restore their PGP private keys on the server
|
||||
sudo cp -rf ../sources/pgpback $final_path/.
|
||||
|
||||
mkdir /var/www/rainloop/pgpback/keys
|
||||
sudo chown -R www-data: /var/www/rainloop/pgpback/keys
|
||||
|
||||
# Set permissions to rainloop directory
|
||||
sudo find $final_path/. -type d -exec chmod 755 {} \;
|
||||
sudo find $final_path/. -type f -exec chmod 644 {} \;
|
||||
|
@ -146,6 +148,7 @@ CHECK_DOMAINPATH
|
|||
sudo sed -i "s@NAMETOCHANGE@$app@g" $finalphpconf
|
||||
sudo chown root: $finalphpconf
|
||||
sudo chmod 644 $finalphpconf
|
||||
|
||||
|
||||
# Make app public if necessary
|
||||
ynh_app_setting_set "$app" is_public "$is_public"
|
||||
|
|
Loading…
Reference in a new issue