mod tv git: chown nogroup explicitly
This commit is contained in:
parent
a57797c997
commit
f2386b1644
@ -267,7 +267,7 @@ in
|
|||||||
if ! test -d "$repodir"; then
|
if ! test -d "$repodir"; then
|
||||||
mkdir -m "$mode" "$repodir"
|
mkdir -m "$mode" "$repodir"
|
||||||
git init --bare --template=/var/empty "$repodir"
|
git init --bare --template=/var/empty "$repodir"
|
||||||
chown -R git: "$repodir"
|
chown -R git:nogroup "$repodir"
|
||||||
fi
|
fi
|
||||||
ln -s ${hooks} "$repodir/hooks"
|
ln -s ${hooks} "$repodir/hooks"
|
||||||
''
|
''
|
||||||
|
Loading…
Reference in New Issue
Block a user