1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nocodb_ynh.git synced 2024-09-03 19:56:01 +02:00

No need for www-data to access install_dir

This commit is contained in:
tituspijean 2024-01-07 14:41:35 +01:00
parent 44d3a7dac2
commit 10e092c9b4
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
3 changed files with 3 additions and 3 deletions

View file

@ -21,7 +21,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chown -R $app:$app "$install_dir"
chmod +x $install_dir/nocodb
#=================================================

View file

@ -18,7 +18,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
ynh_restore_file --origin_path="$install_dir"
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chown -R $app:$app "$install_dir"
chmod +x $install_dir/nocodb
#=================================================

View file

@ -37,7 +37,7 @@ then
fi
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
chown -R $app:$app "$install_dir"
chmod +x $install_dir/nocodb
#=================================================