fix perms
This commit is contained in:
parent
875b475295
commit
80a45d5f8c
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user