I'm trying to grant permission to a file from the command line for the user IIS6.0.
So far I've tried icacls /grant ISS_WPG:(RX,W) 'namefile', but with no result.
icacls /grant ISS_WPG:(RX,W) 'namefile'
The correct syntax is:
icacls FILE /grant USER:(RX,W)
The filename goes first.
icacls DIR_NAME /grant Everyone:(CI)(OI)(RX,W)
3 years ago