owncloud-docker / php

Base image for a general PHP stack
MIT License
5 stars 5 forks source link

fix: add .cache dir with proper permissions #84

Closed xoxys closed 2 years ago

xoxys commented 2 years ago

Supersedes: https://github.com/owncloud-docker/php/pull/83/files

Required by the cronjob for WND process queue, e.g. occ wnd:process-queue host.docker.internal smbshare. It calls smbclient under the hood, which in this case wants to create a file /var/www/.cache/samba/gencache.tdb. For security reasons, www-data has no permissions to create new directories in /var/www.