mcollera / AccessControlDsc

MIT License
13 stars 12 forks source link

NTFSAccessEntry cannot be used to apply a single permission across multiple files when wildcards are used as a path. #51

Closed bcwilhite closed 4 years ago

bcwilhite commented 5 years ago

Describe the bug

When NTFSAccessEntry is used and a string that contains wildcards is used to address permissions to a given path, the resource fails to reach the desired state.

To Reproduce

Generate a configuration where the path statements contains wildcards, such as .*.* Attempt to apply the configuration to a system, the permissions will not apply correctly.

Expected behavior

Successfully apply permissions to multiple files when wildcards are used in a given path.