Gate arr orphan deletion on ctime and stop the nightly permissions pass from restamping it — imports preserve the release's original mtime, so the age gate never actually fired for real content

This commit is contained in:
Gmer4Lfe
2026-07-27 18:38:18 -04:00
parent 3084546b32
commit d680bd0549
5 changed files with 80 additions and 23 deletions
+7
View File
@@ -15,6 +15,13 @@
# written share means a container has wrong PUID/PGID — add PUID=99 PGID=100
# to its Docker template. Common culprits: SABnzbd, qBittorrent, slskd.
#
# Side effect worth knowing: this applies owner/mode unconditionally, and chown/chmod
# restamp an inode's ctime even when the value doesn't change. sonarr/radarr/lidarr_cleanup.sh
# gate orphan deletion on ctime, so running this over a whole media root resets that clock
# and pauses orphan collection there for *_ORPHAN_AGE days. That is why the nightly
# media_shares_permissions.sh applies its passes conditionally. Harmless for the targeted
# repairs this tool is meant for — worth remembering before pointing it at an entire share.
#
# ==============================================================================================
# DESIGN PRINCIPLES
# ==============================================================================================