mirror of
https://github.com/YunoHost-Apps/mastodon_ynh.git
synced 2024-09-03 19:46:02 +02:00
Fix permissions of public nginx-served directory
This commit is contained in:
parent
f5f9c3b7ae
commit
07c74254f0
1 changed files with 3 additions and 0 deletions
|
@ -99,6 +99,9 @@ pushd "$install_dir/live"
|
||||||
ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:precompile
|
ynh_exec_warn_less ynh_exec_as $app RAILS_ENV=production $ynh_ruby_load_path $ld_preload bin/bundle exec rails assets:precompile
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
chown "$app:www-data" "$install_dir"
|
||||||
|
chown -R "$app:www-data" "$install_dir/live/public"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# REAPPLY SYSTEM CONFIGURATIONS
|
# REAPPLY SYSTEM CONFIGURATIONS
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue