When using a Puppet file resource with recurse=>true is it possible to have directories and files get different permissions?
That is we generally want to remove read/execute permissions from group for all non-directory files. However, directories should retain the execute permission since that is required to enter the directory.
Some utilities (e.g. umask) are intelligent enough to deal with this but it looks like Puppet may not be. Am I missing anything?
Asked by LJKims
(469 rep)
Jun 19, 2017, 07:15 PM
Last activity: Jun 19, 2021, 07:41 AM
Last activity: Jun 19, 2021, 07:41 AM