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

Fix chmod

This commit is contained in:
yalh76 2021-04-15 20:28:16 +02:00
parent 0b1d7948b3
commit 1b48d97141
3 changed files with 5 additions and 5 deletions

View file

@ -111,7 +111,7 @@ pushd $final_path
mkdir -p config mkdir -p config
popd popd
chmod 750 "$final_path" chmod -R 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path" chown -R $app:$app "$final_path"
@ -120,7 +120,7 @@ pushd $datadir
mkdir -p static media music mkdir -p static media music
popd popd
chmod 750 "$datadir" chmod -R 750 "$datadir"
chmod -R o-rwx "$datadir" chmod -R o-rwx "$datadir"
chown -R $app:$app "$datadir" chown -R $app:$app "$datadir"

View file

@ -69,7 +69,7 @@ ynh_script_progression --message="Restoring the app main directory..."
ynh_restore_file --origin_path="$final_path" ynh_restore_file --origin_path="$final_path"
chmod 750 "$final_path" chmod -R 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path" chown -R $app:$app "$final_path"
@ -87,7 +87,7 @@ pushd $datadir
mkdir -p static media music mkdir -p static media music
popd popd
chmod 750 "$datadir" chmod -R 750 "$datadir"
chmod -R o-rwx "$datadir" chmod -R o-rwx "$datadir"
chown -R $app:$app "$datadir" chown -R $app:$app "$datadir"

View file

@ -150,7 +150,7 @@ then
ynh_setup_source --dest_dir="$final_path/front" --source_id="front" ynh_setup_source --dest_dir="$final_path/front" --source_id="front"
fi fi
chmod 750 "$final_path" chmod -R 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:$app "$final_path" chown -R $app:$app "$final_path"