permissions issue with fsmetadata.json
-
The permission is fine, I think it changed in 5.5 when we fixed the backup job to be systemd based. I guess you are seeing this with rsync backups? The file is created by a root process.
-
@robi The fsmetadata.json is only used in rsync backups. It's used to keep track of empty directories and 'x' bit of files when using rsync mode. We do this because object storage services (like s3, gcs and friends) cannot track this since they are not a filesystem but an object store.
This is not needed in tgz because tgz format can encode this information inside the tarball.
In essence, fsmetadata.json is usually owned by root. If it's owned by yellowtent, it's probably because maybe you restored the Cloudron in the past or something. The restore logic changes the permission of all files to yellowtent after downloading so that restore can continue as non-root user.