Assets directory
Closes #492 (closed)
Set open permissions to all files in assets directory while disallowing the deletion using the sticky bit. This will allow running the gitlab-rake assets:precompile
task.
Merge request reports
Activity
@jacobvosmaer I need your input on this. I don't see a security downside to this however, setting open permissions is always a code smell.
202 202 end 203 203 end 204 204 205 # Set the open permissions so assets:precompile can be triggered from the 206 # rake task. Set the sticky bit so no one but the owner can delete. 207 execute "change permissions" do 208 command "chmod -R 1777 /opt/gitlab/embedded/service/gitlab-rails/public/assets"
Please register or sign in to reply