stagit

Fork of `stagit` for git.knutsen.co.
git clone git://git.knutsen.co/stagit
Log | Files | Refs | README | LICENSE

commit d9c8eef928252deb16d52876a5fd09b66e380a7e
parent 8451c4156091fe6cc39d4f2e2d38273a0ca21176
Author: Demonstrandum <moi@knutsen.co>
Date:   Wed, 29 Jul 2020 23:09:26 +0100

Fix ownership of generated files.

Diffstat:
Mrepo-gen.sh | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/repo-gen.sh b/repo-gen.sh @@ -34,3 +34,7 @@ done echo "Generating index.html with \`$STAGIT_INDEX\`." "$STAGIT_INDEX" /srv/git/*.git > /var/www/git/index.html + +# Correct ownership of the web files. +chowm git:www-data -R /var/www/git -f +chmod g+rw -R /var/www/git -f