fix perms

This commit is contained in:
Paolo Asperti 2025-04-02 12:45:13 +02:00
parent 875b475295
commit 80a45d5f8c
Signed by: paspo
GPG Key ID: 06D46905D19D5182
2 changed files with 6 additions and 0 deletions

View File

@ -75,6 +75,9 @@ cat > /etc/nginx/conf.d/user.conf <<EOF
user ${USERNAME} ${GROUPNAME};
EOF
# fix permissions for upload
chown "${USERNAME}" /var/lib/nginx
cat > /etc/nginx/http.d/webdav.conf <<EOF
server {
listen ${WEBDAV_PORT} default_server;

View File

@ -85,6 +85,9 @@ cat > /etc/nginx/conf.d/user.conf <<EOF
user ${USERNAME} ${GROUPNAME};
EOF
# fix permissions for upload
chown "${USERNAME}" /var/lib/nginx
cat > /etc/nginx/http.d/webdav.conf <<EOF
server {
listen ${WEBDAV_PORT} default_server;