我在CentOS 7上成功安装了GitLab 7.7.2。
现在,我尝试以子目录样式运行GitLab,例如http://url/gitlab。
我查看了这个文件并按照指示进行了更改:/opt/gitlab/embedded/service/gitlab-rails/config。
然后,我进行了预编译,但出现了错误。
# gitlab-rake assets:precompile RAILS_ENV=production
I, [2015-02-27T17:35:18.980208 #4864] INFO -- : Writing /opt/gitlab/embedded/service/gitlab-rails/public/assets/authbuttons/github_32-199ebcd7adccbfe20068d39bfd57e6bf.png
rake aborted!
Errno::EACCES: Permission denied @ rb_sysopen - /opt/gitlab/embedded/service/gitlab-rails/public/assets/authbuttons/github_32-199ebcd7adccbfe20068d39bfd57e6bf.png+
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
我该怎么办?