mirror of
https://github.com/YunoHost-Apps/distbin_ynh.git
synced 2024-09-03 18:26:10 +02:00
Fix chmod
This commit is contained in:
parent
283967936c
commit
36ea616c1b
3 changed files with 5 additions and 5 deletions
|
@ -84,7 +84,7 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
|
||||
|
@ -115,7 +115,7 @@ mkdir -p "$final_path/distbin-db"
|
|||
mkdir -p "$final_path/distbin-db/activities"
|
||||
mkdir -p "$final_path/distbin-db/inbox"
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ then
|
|||
ynh_setup_source --dest_dir="$final_path"
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:$app "$final_path"
|
||||
|
||||
|
@ -125,7 +125,7 @@ if [ -d "$DIRECTORY" ]; then
|
|||
mv "$final_path/db" "$final_path/distbin-db"
|
||||
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