Created
January 26, 2023 19:09
-
-
Save nickanderson/66fc2b140ab64db87652881f595ad96b to your computer and use it in GitHub Desktop.
preserve old rxdirs behaviro
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
bundle agent __main__ | |
{ | |
files: | |
# If you had: | |
"/path/to/something./" | |
depth_search => recurse( "inf" ), | |
perms => mog( "600", "root", "root"); | |
# And you want to have the old rxdirs behavior: | |
"/path/to/something./" | |
depth_search => recurse( "inf" ), | |
perms => mymog( "600", "root", "root"); | |
} | |
body perms mymog( m, o, g) | |
{ | |
inherit_from => default:mog( "$(m)", "$(o)", "$(g)" ); | |
rxdirs => "true"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment