Fix data directory chmod

This commit is contained in:
crystal 2023-11-25 17:12:14 -07:00
parent e27c871038
commit 7e75283801
No known key found for this signature in database
GPG key ID: 1122054731F7CC43
4 changed files with 18 additions and 1 deletions

View file

@ -29,6 +29,6 @@ case "$1" in
$FORGEJO_USER
if ! dpkg-statoverride --list $FORGEJO_HOME >/dev/null ; then
chown -R $FORGEJO_USER:$FORGEJO_GROUP $FORGEJO_HOME
chmod u=rwx,g=rwx,o= $FORGEJO_HOME
chmod u=rwx,g=rx,o= $FORGEJO_HOME
fi
esac