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

Fix rights

This commit is contained in:
yalh76 2021-04-13 01:30:04 +02:00
parent 463fbc2f53
commit 7561be31f7

View file

@ -138,7 +138,11 @@ ynh_secure_remove --file="$final_path/.cargo"
ynh_secure_remove --file="$final_path/.rustup" ynh_secure_remove --file="$final_path/.rustup"
# Create datadir # Create datadir
mkdir -p "$final_path"/live/data mkdir -p "$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"
#================================================= #=================================================
# ADD A CONFIGURATION # ADD A CONFIGURATION