Using icacls.exe command to change the permission of a folder
Use following command to change the permission of a folder:
C:\folder> icacls FOLDER_NAME /grant user_id:(OI)(CI)(F)
Reference: https://stackoverflow.com/questions/38725364/icacls-permissions-not-applying-as-i-expect
F - Full Access
OI - Inherit file
CI - Inherit sub-folder
Comments
Post a Comment