Make db/structure.sql writable by gitlab user
This commit is contained in:
parent
c3aeb112bd
commit
579d544110
1 changed files with 3 additions and 0 deletions
3
debian/gitlab.postinst
vendored
3
debian/gitlab.postinst
vendored
|
@ -129,6 +129,9 @@ case "$1" in
|
|||
# Make yarn.lock writable
|
||||
chown ${gitlab_user}: /var/lib/gitlab/yarn.lock
|
||||
|
||||
# Make db/structure.sql writable
|
||||
chown ${gitlab_user}: /var/lib/gitlab/db/structure.sql
|
||||
|
||||
runuser -u ${gitlab_user} -- sh -c "chmod 700 ${gitlab_uploads_path}"
|
||||
runuser -u ${gitlab_user} -- sh -c 'git config --global core.autocrlf "input"'
|
||||
|
||||
|
|
Loading…
Reference in a new issue