Package: git Version: 1:2.39.5-0+deb12u1 A server running git-daemon received today an update to git 1:2.39.5. After such update, git-daemon stopped working with those messages:
2024-09-14T12:01:00.585402+00:00 my_host git-daemon[4897]: #011git config --global --add safe.directory . 2024-09-14T12:01:00.585903+00:00 my_host git-daemon[4472]: [4897] Disconnected (with error) 2024-09-14T12:02:00.551603+00:00 my_host git-daemon[5037]: Connection from xxx.xxx.xxx.xxx:41086 2024-09-14T12:02:00.553966+00:00 my_host git-daemon[5037]: Extended attribute "host": my_host.org 2024-09-14T12:02:00.554099+00:00 my_host git-daemon[5037]: Extended attribute "protocol": version=2 2024-09-14T12:02:00.554146+00:00 my_host git-daemon[5037]: Request upload-pack for '/edid-decode.git' 2024-09-14T12:02:00.554384+00:00 my_host git-daemon[5037]: detected dubious ownership in repository at '/git/my-repository.git'#012To add an exception for this directory, call:#012#012#011git config --global --add safe.directory /git/my-repository.git 2024-09-14T12:02:00.554622+00:00 my_host git-daemon[4472]: [5037] Disconnected (with error) The problem happens with both shared and not shared repositories and adding safe.directory to /etc/gitconfig doesn't solve. After reverting to 1:2.39.2-1.1, git-daemon worked fine. Thanks, Mauro

