Make yarn.lock writable
This commit is contained in:
parent
7653571603
commit
2e12070f1e
2 changed files with 4 additions and 1 deletions
2
debian/gitlab.links
vendored
2
debian/gitlab.links
vendored
|
@ -2,7 +2,7 @@ var/lib/gitlab/public usr/share/gitlab/public
|
||||||
var/lib/gitlab/shared usr/share/gitlab/shared
|
var/lib/gitlab/shared usr/share/gitlab/shared
|
||||||
var/lib/gitlab/db usr/share/gitlab/db
|
var/lib/gitlab/db usr/share/gitlab/db
|
||||||
var/lib/gitlab/.node_modules usr/share/gitlab/node_modules
|
var/lib/gitlab/.node_modules usr/share/gitlab/node_modules
|
||||||
var/lib/gitlab/yarn.lock usr/share/gitlab/yarn.lock
|
/var/lib/gitlab/yarn.lock /usr/share/gitlab/yarn.lock
|
||||||
var/lib/gitlab/yarn-error.log usr/share/gitlab/yarn-error.log
|
var/lib/gitlab/yarn-error.log usr/share/gitlab/yarn-error.log
|
||||||
var/lib/gitlab/.ssh usr/share/gitlab/.ssh
|
var/lib/gitlab/.ssh usr/share/gitlab/.ssh
|
||||||
var/lib/gitlab/.bundle usr/share/gitlab/.bundle
|
var/lib/gitlab/.bundle usr/share/gitlab/.bundle
|
||||||
|
|
3
debian/gitlab.postinst
vendored
3
debian/gitlab.postinst
vendored
|
@ -126,6 +126,9 @@ case "$1" in
|
||||||
chown ${gitlab_user}: $i
|
chown ${gitlab_user}: $i
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Make yarn.lock writable
|
||||||
|
chown ${gitlab_user}: /usr/share/gitlab/yarn.lock
|
||||||
|
|
||||||
runuser -u ${gitlab_user} -- sh -c "chmod 700 ${gitlab_uploads_path}"
|
runuser -u ${gitlab_user} -- sh -c "chmod 700 ${gitlab_uploads_path}"
|
||||||
runuser -u ${gitlab_user} -- sh -c 'git config --global core.autocrlf "input"'
|
runuser -u ${gitlab_user} -- sh -c 'git config --global core.autocrlf "input"'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue