1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/funkwhale_ynh.git synced 2024-09-03 18:36:24 +02:00

fix chown

This commit is contained in:
Thomas 2023-06-19 18:58:26 +02:00 committed by GitHub
parent 95b96ca0d7
commit 6f0ef74b7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,9 +62,7 @@ ynh_script_progression --message="Assure correct permissions to $data_dir..." --
chmod 750 "$data_dir"
chmod -R o-rwx "$data_dir/"
chown -R $app:www-data "$data_dir/"
#following line is to be sure that the directory has appropriate owner rights (as above commands doesnt seem to have an effect)
#chown -R $app:www-data "$data_dir/data/media/tracks"
chown -R $app:$app "$data_dir/"
#=================================================
# SPECIFIC UPGRADE
@ -112,7 +110,7 @@ popd
chmod 750 "$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chown -R $app:$app "$install_dir"
#=================================================
# SETUP SYSTEMD