From 8226cb4cf72eb51a0be2139466aa2a365e507998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=96=84=E6=99=AF=E4=BB=81?= Date: Tue, 24 Jun 2025 09:42:19 +0800 Subject: [PATCH] fix option inheritancelevel option shoule be inheritance --- WindowsServerDocs/administration/windows-commands/icacls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WindowsServerDocs/administration/windows-commands/icacls.md b/WindowsServerDocs/administration/windows-commands/icacls.md index b340348208..bc8e58099a 100644 --- a/WindowsServerDocs/administration/windows-commands/icacls.md +++ b/WindowsServerDocs/administration/windows-commands/icacls.md @@ -43,7 +43,7 @@ icacls directory [/substitute SidOld SidNew [...]] [/restore aclfile] [/C] [/L] | /setintegritylevel `` | Explicitly adds an integrity ACE to all matching files. The level can be specified as:

  • **l** - Low
  • **m** - Medium
  • **h** - High

  • Inheritance options for the integrity ACE may precede the level and are applied only to directories. | | /substitute `` `` | Replaces an existing SID (*sidold*) with a new SID (*sidnew*). Requires using with the `` parameter. | | /restore `` /c \| /l \| /q | Applies stored DACLs from `` to files in the specified directory. Requires using with the `` parameter. | -| /inheritancelevel: e \| d \| r | Sets the inheritance level, which can be:

  • **e** - Enables inheritance
  • **d** - Disables inheritance and copies the ACEs
  • **r** - Disables inheritance and removes only inherited ACEs
  • | +| /inheritance: e \| d \| r | Sets the inheritance level, which can be:

  • **e** - Enables inheritance
  • **d** - Disables inheritance and copies the ACEs
  • **r** - Disables inheritance and removes only inherited ACEs
  • | ## Remarks