permissions shift from 4.0.0 to 4.2.2
Posted: February 21st, 2024, 2:22 am
dsm 7.2
container manager (docker)
linuxserver images
PUID and PGID set
completed download permissions is blank
umask is not set
has been working with sonarr for a very long time
in 4.0.0 newly downloaded files had the owner set to the PUID, and then the PUID, PGID, and Everyone, would be explicitly added with custom permissions (read/most of write except delete), and none of the inherited permissions would be there any more - that worked well enough for my purposes, sonarr could pick it up and move it, and users could see it under the final destination. the owner wasnt what i wanted but it wasnt a big deal (all my media automation containers run under the same PUID anyway)
when i upgrade to sab 4.2.2 newly downloaded files have the PUID as owner, but only the PUID with those custom permissions, and no inherited permissions. sonarr can still move it to the end location, but none of the users can see it any more because the inherited permissions are no longer there, and neither is the everyone group (which was what allowing it to work under 4.0.0)
obviously theres a permissions/config issue in there somewhere, but i dont have enough knowledge about linux permissions and how those interact with docker and dsm to work out what to do - plus the transmission container has no issues with this - its newly downloaded files have the PUID set as owner but no permissions are set on any files it downloads, and they all have the inherited permissions.
so my question is how do i get sab to not touch the normal permissions? i dont care if it wants to be the owner, i can live with that, but i need it to not touch the permissions, or remove the inherited permissions, for newly downloaded files (or the extracted files either)?
failing that is there anything i can do at the dsm folder permissions level? docker config? or the umask thing?
i've rolled the sab image back to 4.0.0 as a workaround until i can find a fix.
container manager (docker)
linuxserver images
PUID and PGID set
completed download permissions is blank
umask is not set
has been working with sonarr for a very long time
in 4.0.0 newly downloaded files had the owner set to the PUID, and then the PUID, PGID, and Everyone, would be explicitly added with custom permissions (read/most of write except delete), and none of the inherited permissions would be there any more - that worked well enough for my purposes, sonarr could pick it up and move it, and users could see it under the final destination. the owner wasnt what i wanted but it wasnt a big deal (all my media automation containers run under the same PUID anyway)
when i upgrade to sab 4.2.2 newly downloaded files have the PUID as owner, but only the PUID with those custom permissions, and no inherited permissions. sonarr can still move it to the end location, but none of the users can see it any more because the inherited permissions are no longer there, and neither is the everyone group (which was what allowing it to work under 4.0.0)
obviously theres a permissions/config issue in there somewhere, but i dont have enough knowledge about linux permissions and how those interact with docker and dsm to work out what to do - plus the transmission container has no issues with this - its newly downloaded files have the PUID set as owner but no permissions are set on any files it downloads, and they all have the inherited permissions.
so my question is how do i get sab to not touch the normal permissions? i dont care if it wants to be the owner, i can live with that, but i need it to not touch the permissions, or remove the inherited permissions, for newly downloaded files (or the extracted files either)?
failing that is there anything i can do at the dsm folder permissions level? docker config? or the umask thing?
i've rolled the sab image back to 4.0.0 as a workaround until i can find a fix.