Last active
February 24, 2023 01:12
-
-
Save mmdriley/5c04ac65fad1704a25a972be2f6372dc to your computer and use it in GitHub Desktop.
enforce_inherit_acl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# put in: /volume1/\@appdata/sabnzbd/scripts/ | |
# then enable in UI | |
set -o errexit -o nounset -o pipefail | |
# Recurse into subdirs with `find`. It always touches F before F/contents. | |
find "${SAB_COMPLETE_DIR}" -exec synoacltool -enforce-inherit '{}' ';' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment