Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

NTFSAccessControlEntry Resource Bug - Audit Rule Wipe, Local Service Owner Error #44

Closed
bcwilhite opened this issue Feb 14, 2019 · 1 comment · Fixed by #45
Closed

Comments

@bcwilhite
Copy link
Collaborator

Describe the bug

The NTFSAccessControlEntry Resource will complete remove Audit Rules defined for a given path. Furthermore, there's also a bug that will not successfully set the defined permissions if the Local Service is the current owner. Both these bugs are addressed with the same code fix.

To Reproduce

  1. Create a member server 2012 R2 configuration.
  2. On a newly installed OS, modify the Application.evtx permissions.
  3. When the Set-TargetResource runs, it will throw an error.
  4. If audit rules are defined on any path where Set-TargetResource runs, those audit rules are completely removed.

Expected behavior

Apply a configuration without throwing an error or wiping any pre-defined audit rules for a given path.

Screenshots

error

@bcwilhite
Copy link
Collaborator Author

Fixed with PR #45

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant