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:
parent
44d3a7dac2
commit
10e092c9b4
3 changed files with 3 additions and 3 deletions
|
@ -21,7 +21,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
|
|
||||||
chmod -R o-rwx "$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
|
chmod +x $install_dir/nocodb
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -18,7 +18,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
|
||||||
ynh_restore_file --origin_path="$install_dir"
|
ynh_restore_file --origin_path="$install_dir"
|
||||||
|
|
||||||
chmod -R o-rwx "$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
|
chmod +x $install_dir/nocodb
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -37,7 +37,7 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod -R o-rwx "$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
|
chmod +x $install_dir/nocodb
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue