Closed Legend-Master closed 6 months ago
This seems sane to me! But I'll let @dlon have a say also.
Thank you for the contribution!
Just a note, this PR includes the changes made in #121, so maybe we can close it as completed now
Oh. I didn't notice they overlap. I sort of forgot about the other PR. Thanks.
I don't know if we should provide all combination flags like
GENERIC_READ
listed in https://learn.microsoft.com/en-us/windows/win32/services/service-security-and-access-rights#access-rights-for-a-service, but at least we need to haveREAD_CONTROL
,WRITE_DAC
,WRITE_OWNER
for modifying security descriptors, this is often used in updater services for preventing UAC promptsThis change is