aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Müller2021-10-29 12:19:20 +0200
committerWolfgang Müller2021-10-29 12:19:20 +0200
commitb6e449616c79e7f7f695208d146ebf92e4abaddc (patch)
tree5f84093c760ee7252a5a17614c424fbf2525d8c5
parent060bc6bf42390bc541e2a16c82643e7414968c85 (diff)
downloadskein-0.1.3.tar.gz (sig)
skein-infra: Do not change permissions of repos.avail/HEAD0.1.3master
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.
-rwxr-xr-xskein-infra1
1 files changed, 0 insertions, 1 deletions
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
}