1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vaultwarden_ynh.git synced 2024-09-03 18:26:31 +02:00

Fix recursive chmod

This commit is contained in:
yalh76 2021-04-17 18:30:49 +02:00
parent 671c540ab0
commit ad33d502f2
3 changed files with 4 additions and 4 deletions

View file

@ -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 -R 750 "$final_path"
chmod 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 -R 750 "$final_path/live/data"
chmod 750 "$final_path/live/data"
chmod -R o-rwx "$final_path/live/data"
chown -R $app:$app "$final_path/live/data"

View file

@ -65,7 +65,7 @@ ynh_script_progression --message="Restoring the app main directory..."
ynh_restore_file --origin_path="$final_path"
chmod -R 750 "$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"

View file

@ -101,7 +101,7 @@ then
ynh_setup_source --dest_dir="$final_path/live/web-vault/" --source_id="web"
fi
chmod -R 750 "$final_path"
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path"