Does anyone know if there is a way to use the existing File resource to set ACLs on files or directories, or would I have to write a custom resource? Has anyone written a community or experimental resource to do this?
It seems like DSC would be a good tool for helping manage audit compliance, at least during initial builds, but I’ve looked into it using “Get-DSCResource –Name File –Syntax” on the 4.0 and 5.0 Previews and don’t see any facility for this.
The Carbon module has a Carbon_Permission DSC resource for setting permissions on files, directories, registry keys, and certificate private keys. (Disclaimer: I am the creator/owner of Carbon.)