Conversation
Do not use "APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES " but "ALL RESTRICTED APPLICATION PACKAGES " only as Principal and I have done few modifications to support that cNtfsPermissionEntry DscResource.
|
@SNikalaichyk Could you review it and merge it .Please do let me know if you have any queries |
|
Hi @shubhamgupta514, first of all thanks for submitting this PR!
|
|
@SNikalaichyk Thanks for your comments. I am not the original author of Convert-FileSystemRightsInteger. I copied the source code from Technet and already mentioned the link for the same as comment above the function. |
|
About the PR, I am getting an error "Some or all identity references could not be translated" I am trying modifying the permissions for APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES on a particular file or folder. What I found after some debugging if we only use "ALL RESTRICTED APPLICATION PACKAGES" without the domain and use of the sid of the same in access rule as an argument in modifyaccessrule. Everything is working fine. |
Do not use "APPLICATION PACKAGE AUTHORITY\ALL RESTRICTED APPLICATION PACKAGES " but "ALL RESTRICTED APPLICATION PACKAGES " only as Principal and I have done few modifications to support that cNtfsPermissionEntry DscResource.