Fix permission error, and missing filebrowser.db for .s6 images. Should resolve https://github.com/filebrowser/filebrowser/issues/2217