From b6e449616c79e7f7f695208d146ebf92e4abaddc Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Fri, 29 Oct 2021 12:19:20 +0200 Subject: skein-infra: Do not change permissions of repos.avail/ Since repos.avail/ is a bind mount of the root directory containing all of the users git repositories, changing permissions on it will also change permissions on the underlying root directory. This should not happen. As this action was only really added for paranoia, and the git repositories themselves will have proper permissions set such that the cgit process can't read what it is not allowed to, just remove it. --- skein-infra | 1 - 1 file changed, 1 deletion(-) diff --git a/skein-infra b/skein-infra index 9673f55..45c9f8b 100755 --- a/skein-infra +++ b/skein-infra @@ -43,7 +43,6 @@ setup() { available_repos="$SKEIN_CGIT_ROOT"/home/$user/repos.avail bind_mount "$git_repo_dir" "$available_repos" - chmod 0701 "$available_repos" done } -- cgit v1.2.3-2-gb3c3