mullvad / windows-service-rs

Windows services in Rust
Apache License 2.0
525 stars 85 forks source link

Add WRITE_DAC to ServiceAccess enum in service.rs #121

Closed codesavvysoftware closed 6 months ago

codesavvysoftware commented 8 months ago

Need this for a call to change a DACL where admins only have WRITE_DAC access.


This change is Reviewable

Legend-Master commented 7 months ago

I think some other standard access rights are also missing, like READ_CONTROL for QueryServiceObjectSecurity, also generic access rights?

https://learn.microsoft.com/en-us/windows/win32/services/service-security-and-access-rights#access-rights-for-a-service

faern commented 6 months ago

This and more access flags have now been merged as part of #129