[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#56444: Gitolite home directory permissions
From: |
Evgeny Pisemsky |
Subject: |
bug#56444: Gitolite home directory permissions |
Date: |
Fri, 08 Jul 2022 00:35:10 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Hello!
I wanted to serve public repositories from gitolite using git-daemon.
I tried the following configuration of services:
┌────
│ (define git-daemon
│ (git-daemon-service
│ #:config (git-daemon-configuration
│ (base-path "/var/lib/gitolite/repositories"))))
│
│ (define gitolite
│ (service gitolite-service-type
│ (gitolite-configuration
│ (admin-pubkey user-key)
│ (group "git-daemon")
│ (rc-file (gitolite-rc-file
│ (umask #o0027))))))
└────
However despite setting the umask the `/var/lib/gitolite' directory
gets the `drwx------' permissions that makes it inaccessible for the
git-daemon.
If I set the group permissions manually and restart the git-daemon
everything works fine until the next system reboot, which resets the
permissions to the above value.
- bug#56444: Gitolite home directory permissions,
Evgeny Pisemsky <=