mirror of
https://github.com/YunoHost-Apps/strut_ynh.git
synced 2024-09-03 20:26:33 +02:00
Fix permissions
This commit is contained in:
parent
4b4937e6d6
commit
9f41dd7431
1 changed files with 3 additions and 0 deletions
|
@ -22,7 +22,10 @@ ynh_setup_source --dest_dir="$tmp_dir"
|
|||
cp -a "$tmp_dir/dist/." "$install_dir/"
|
||||
ynh_secure_remove --file="$tmp_dir"
|
||||
|
||||
# Set permissions on app files
|
||||
chown -R $app:www-data "$install_dir"
|
||||
chmod -R 640 "$install_dir"
|
||||
find "$install_dir" -type d -print0 | xargs -0 chmod 750
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
|
Loading…
Add table
Reference in a new issue