diff options
author | Wolfgang Müller | 2021-10-29 12:19:20 +0200 |
---|---|---|
committer | Wolfgang Müller | 2021-10-29 12:19:20 +0200 |
commit | b6e449616c79e7f7f695208d146ebf92e4abaddc (patch) | |
tree | 5f84093c760ee7252a5a17614c424fbf2525d8c5 /skein-infra | |
parent | 060bc6bf42390bc541e2a16c82643e7414968c85 (diff) | |
download | skein-b6e449616c79e7f7f695208d146ebf92e4abaddc.tar.gz (sig) |
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.
Diffstat (limited to '')
-rwxr-xr-x | skein-infra | 1 |
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 } |