What is the difference between `/grant` and `/grant:r` in `icacls`?

  • /grant adds specified permissions for a user or group without removing existing permissions.
  • /grant:r replaces all existing permissions with the specified permissions for that user or group.