mirror of
https://github.com/YunoHost-Apps/vaultwarden_ynh.git
synced 2024-09-03 18:26:31 +02:00
Fix chmod
This commit is contained in:
parent
a613a1571f
commit
671c540ab0
3 changed files with 4 additions and 4 deletions
|
@ -98,7 +98,7 @@ ynh_setup_source --dest_dir="$final_path/build/" --source_id="app"
|
|||
# Download, check integrity, uncompress and patch the source from web.src
|
||||
ynh_setup_source --dest_dir="$final_path/live/web-vault/" --source_id="web"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
|
||||
|
@ -140,7 +140,7 @@ ynh_secure_remove --file="$final_path/.rustup"
|
|||
# Create datadir
|
||||
mkdir -p "$final_path/live/data"
|
||||
|
||||
chmod 750 "$final_path/live/data"
|
||||
chmod -R 750 "$final_path/live/data"
|
||||
chmod -R o-rwx "$final_path/live/data"
|
||||
chown -R $app:$app "$final_path/live/data"
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ ynh_script_progression --message="Restoring the app main directory..."
|
|||
|
||||
ynh_restore_file --origin_path="$final_path"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
|
||||
|
|
|
@ -101,7 +101,7 @@ then
|
|||
ynh_setup_source --dest_dir="$final_path/live/web-vault/" --source_id="web"
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
|
||||
|
|
Loading…
Reference in a new issue