fix(): socket perm

pull/80/head
Magicalex 2021-03-16 21:51:47 +01:00
parent 217bb980f0
commit fc0944c7d5
No known key found for this signature in database
GPG Key ID: A89B48B1788C3CB5
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ sed -i "s/<OPCACHE_MEMORY_LIMIT>/${OPCACHE_MEMORY_LIMIT}/g" /etc/php8/conf.d/00_
# Set permissions for /flarum folder # Set permissions for /flarum folder
echo "[INFO] Setting folder permissions" echo "[INFO] Setting folder permissions"
for folder in /etc/s6.d /var/log /var/lib/nginx; do for folder in /etc/s6.d /run/php /var/log /var/lib/nginx; do
find ${folder} ! -user "${UID}" -exec chown -h "${UID}:${GID}" {} \+ find ${folder} ! -user "${UID}" -exec chown -h "${UID}:${GID}" {} \+
find ${folder} ! -group "${GID}" -exec chown -h "${UID}:${GID}" {} \+ find ${folder} ! -group "${GID}" -exec chown -h "${UID}:${GID}" {} \+
done done