git-server-docker-stagit

git-server-with-stagit
git clone git://git.andersuno.nu/git-server-docker-stagit.git
Log | Files | Refs | README

commit 4ecde10cad073f2aebe1b4ece9743507e48b87f5
parent ee965a448bfa70dccefe153587d62c30d4a42b05
Author: andersuno <anders@desk.andersuno.nu>
Date:   Sat,  7 May 2022 20:13:19 +0200

Added public-html to permission check

Diffstat:
Mstart.sh | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/start.sh b/start.sh @@ -18,6 +18,13 @@ if [ -d /git-server/repos/ ]; then chmod -R ug+rwX . find . -type d -exec chmod g+s '{}' + fi +if [ -d /git-server/public-html/ ]; then + cd /git-server/public-html + chown -R git:git . + chmod -R ug+rwX . + chmod -R o+r . + find . -type d -exec chmod g+s '{}' + +fi /usr/bin/git daemon --reuseaddr --base-path=/git-server/repos/ /git-server/repos/ &