My Dokuwiki installation is configured to the default permission settings of 0755 for directories and 0644 for files. This works fine for articles. However, images (everything in data/media
) are created with 0600 permissions instead, owned by the web server.
The problem is that I'd like to be able to backup the wiki on a regular basis by creating and downloading a gzipped tarball from the server over SSH. The image files can't be archived with those permissions.
Is there a way to make media files be created with 0644 permissions, same as text files? Or could there be something I'm doing wrong that would have caused this?