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
|
||||
popd
|
||||
|
||||
chown "$app:www-data" "$install_dir"
|
||||
chown -R "$app:www-data" "$install_dir/live/public"
|
||||
|
||||
#=================================================
|
||||
# REAPPLY SYSTEM CONFIGURATIONS
|
||||
#=================================================
|
||||
|
|
|
|||
Loading…
Reference in a new issue