chmod sur les assets seulement

This commit is contained in:
Benoît S. 2018-10-08 10:36:04 +02:00
parent 801208c632
commit bf5e788483

View file

@ -149,7 +149,7 @@ Compilation des assets :
~~~ ~~~
$ bundle exec rails assets:precompile $ bundle exec rails assets:precompile
$ chmod -R u=rwX,g=rwX,o=rX /home/mastodon/mastodon/public $ chmod -R u=rwX,g=rwX,o=rX /home/mastodon/mastodon/public/assets
~~~ ~~~
### Unités systemd ### Unités systemd
@ -352,7 +352,7 @@ $ bundle install --deployment --without development test
$ yarn install --pure-lockfile $ yarn install --pure-lockfile
$ bundle exec rails db:migrate $ bundle exec rails db:migrate
$ bundle exec rails assets:precompile $ bundle exec rails assets:precompile
$ chmod -R u=rwX,g=rwX,o=rX /home/mastodon/mastodon/public $ chmod -R u=rwX,g=rwX,o=rX /home/mastodon/mastodon/public/assets
$ exit $ exit
# systemctl restart mastodon-*.service # systemctl restart mastodon-*.service
~~~ ~~~