Skip to content
Snippets Groups Projects
Commit 82219f27 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Change permissions of assets directory so asset precompile task doesn't fail.

parent 654a9f1c
No related branches found
No related tags found
1 merge request!312Assets directory
Loading
Loading
@@ -202,6 +202,12 @@ end
end
end
 
# Set the open permissions so assets:precompile can be triggered from the
# rake task. Set the sticky bit so no one but the owner can delete.
execute "change permissions" do
command "chmod -R 1777 /opt/gitlab/embedded/service/gitlab-rails/public/assets"
end
legacy_sidekiq_log_file = File.join(gitlab_rails_log_dir, 'sidekiq.log')
link legacy_sidekiq_log_file do
to File.join(node['gitlab']['sidekiq']['log_directory'], 'current')
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment