diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-09 16:03:02 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-09 19:40:51 +0200 |
| commit | b471ea62bc0fac98c32b58487e56079b9caf81da (patch) | |
| tree | aac5231c51e17f69aeb3ac37d8b4b79024747377 /f3s | |
| parent | c623516302da81ebd599ca21ca5c2dcd5dfcbecd (diff) | |
Make .ssh directory world-readable for SELinux compatibility
SELinux prevents root from accessing 700 directories in some contexts.
Use 755 for directory and 644 for authorized_keys to allow access.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'f3s')
| -rw-r--r-- | f3s/git-server/helm-chart/templates/deployment.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/f3s/git-server/helm-chart/templates/deployment.yaml b/f3s/git-server/helm-chart/templates/deployment.yaml index e48fc8e..7a7ed57 100644 --- a/f3s/git-server/helm-chart/templates/deployment.yaml +++ b/f3s/git-server/helm-chart/templates/deployment.yaml @@ -29,8 +29,8 @@ spec: # The /ssh-git mount point IS the .ssh directory cp /ssh-keys-secret/authorized_keys /ssh-git/authorized_keys chown -R 1000:1000 /ssh-git - chmod 700 /ssh-git - chmod 600 /ssh-git/authorized_keys + chmod 755 /ssh-git + chmod 644 /ssh-git/authorized_keys volumeMounts: - name: ssh-host-keys mountPath: /ssh-init |
