Docker: update-permissions, only touch registry if exists
Add an exists check to the update-permissions
script, so that it only attempts to set the permissions on the registry (/var/opt/gitlab/gitlab-rails/shared/registry
) if it actually exists. This removes the spurious "fail" on setting permissions on things that don't exist, and allows for better scripting compatibility.
Set the /var/opt/gitlab/redis
permissions to gitlab-redis:git
if the git
user exists. This brings the settings in-line with what is expected in the environment for the git
user to be able to access the Redis instance.
Closes #2074 (closed)
Merge request reports
Activity
added 1 commit
- 5613c8e0 - Docker: update-permissions: proper set redis dir permissions
assigned to @marin
mentioned in issue #2074 (closed)
- Resolved by Jason Plum
assigned to @WarheadsSE
added 1 commit
- 811210f2 - Docker: update-permissions - alaways check path exists
assigned to @marin
mentioned in merge request !1706 (merged)
mentioned in commit cb7d860a