mirror of
https://github.com/YunoHost-Apps/yunorunner_ynh.git
synced 2024-09-03 20:36:13 +02:00
Grant execute permission of ciclic to user and group
This commit is contained in:
parent
d6aa134fcc
commit
73aa82bcd6
3 changed files with 9 additions and 0 deletions
|
@ -37,6 +37,9 @@ chown -R "$app:$app" "$install_dir"
|
|||
chown "$app:www-data" "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir/results"
|
||||
|
||||
# Allow system user to execute ciclic
|
||||
chmod ug+x "$install_dir/ciclic"
|
||||
|
||||
#=================================================
|
||||
# INSTALL PYTHON DEPENDENCIES
|
||||
#=================================================
|
||||
|
|
|
@ -35,6 +35,9 @@ chmod 750 "$install_dir"
|
|||
chmod -R o-rwx "$install_dir"
|
||||
chown -R "$app:$app" "$install_dir"
|
||||
|
||||
# Allow system user to execute ciclic
|
||||
chmod ug+x "$install_dir/ciclic"
|
||||
|
||||
#=================================================
|
||||
# INSTALL PYTHON DEPENDENCIES
|
||||
#=================================================
|
||||
|
|
|
@ -108,6 +108,9 @@ chown -R "$app:$app" "$install_dir"
|
|||
chown "$app:www-data" "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir/results"
|
||||
|
||||
# Allow system user to execute ciclic
|
||||
chmod ug+x "$install_dir/ciclic"
|
||||
|
||||
#=================================================
|
||||
# INSTALL PYTHON DEPENDENCIES
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue