I am trying to get to the bottom of this issue and think I am on the right track.
I use Emby on my NAS and am using the Server Configuration Backup plug-in to back up the config to a shared folder on my NAS. I then have a Rsync job running from a ReadyNas to back up some of the shared folders from my Syno. This has been working fine for years. Now that DSM 7.1 is out I figured it was time to make the jump from DSM 6. I am currently running DSM 7.1-42661 Update 2.
Now I get permissions errors for only this backup folder when trying to do the Rsync backup:
Emby is running as a System internal user and that shows as the owner of the files in File Station. I also see they greyed (meaning inherited) permissions as expected including my Rsync user. If I click the Apply to this folder, sub-folder, and files on the Emby backup folder I can then run the Rsync job without errors.
I found this thread that seems to be talking about the same type of issue: Another DSM package permissions issue. That links to Github Issue where they talk about it being an ACL issue in DSM 7.
Am I on the right path here? Is there a scheduled task I could run to re-apply the permissions to this folder after the Emby backup job and before the Rsync job?
I use Emby on my NAS and am using the Server Configuration Backup plug-in to back up the config to a shared folder on my NAS. I then have a Rsync job running from a ReadyNas to back up some of the shared folders from my Syno. This has been working fine for years. Now that DSM 7.1 is out I figured it was time to make the jump from DSM 6. I am currently running DSM 7.1-42661 Update 2.
Now I get permissions errors for only this backup folder when trying to do the Rsync backup:
Failed to run rsync, return rc 23
rsync: send_files failed to open "Emby/ConfigBackup/Emby Backup - 2022-07-05 11.23.49 - Auto/ScheduledTasks/055748bc-3993-6036-040f-204aeacca405.js" (in Backup): Permission denied (13)
Emby is running as a System internal user and that shows as the owner of the files in File Station. I also see they greyed (meaning inherited) permissions as expected including my Rsync user. If I click the Apply to this folder, sub-folder, and files on the Emby backup folder I can then run the Rsync job without errors.
I found this thread that seems to be talking about the same type of issue: Another DSM package permissions issue. That links to Github Issue where they talk about it being an ACL issue in DSM 7.
Am I on the right path here? Is there a scheduled task I could run to re-apply the permissions to this folder after the Emby backup job and before the Rsync job?