Skip to main content
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

移除儲存層級的存取保護

貢獻者

如果您不想再在儲存層級設定存取安全性、可以移除磁碟區或qtree上的儲存層級存取保護。移除儲存層級的存取保護不會修改或移除一般NTFS檔案和目錄安全性。

步驟
  1. 使用確認磁碟區或 qtree 已設定儲存層級存取保護 vserver security file-directory show 命令。

    vserver security file-directory show -vserver vs1 -path /datavol2

                    Vserver: vs1
                  File Path: /datavol2
          File Inode Number: 99
             Security Style: ntfs
            Effective Style: ntfs
             DOS Attributes: 10
     DOS Attributes in Text: ----D---
    Expanded Dos Attributes: -
               Unix User Id: 0
              Unix Group Id: 0
             Unix Mode Bits: 777
     Unix Mode Bits in Text: rwxrwxrwx
                       ACLs: NTFS Security Descriptor
                             Control:0xbf14
                             Owner:BUILTIN\Administrators
                             Group:BUILTIN\Administrators
                             SACL - ACEs
                               AUDIT-EXAMPLE\Domain Users-0xf01ff-OI|CI|FA
                             DACL - ACEs
                               ALLOW-EXAMPLE\Domain Admins-0x1f01ff-OI|CI
                               ALLOW-EXAMPLE\Domain Users-0x1301bf-OI|CI
    
                             Storage-Level Access Guard security
                             DACL (Applies to Directories):
                               ALLOW-BUILTIN\Administrators-0x1f01ff
                               ALLOW-CREATOR OWNER-0x1f01ff
                               ALLOW-EXAMPLE\Domain Admins-0x1f01ff
                               ALLOW-EXAMPLE\Domain Users-0x120089
                               ALLOW-NT AUTHORITY\SYSTEM-0x1f01ff
                             DACL (Applies to Files):
                               ALLOW-BUILTIN\Administrators-0x1f01ff
                               ALLOW-CREATOR OWNER-0x1f01ff
                               ALLOW-EXAMPLE\Domain Admins-0x1f01ff
                               ALLOW-EXAMPLE\Domain Users-0x120089
                               ALLOW-NT AUTHORITY\SYSTEM-0x1f01ff
  2. 使用移除儲存層級存取保護 vserver security file-directory remove-slag 命令。

    vserver security file-directory remove-slag -vserver vs1 -path /datavol2

  3. 使用確認儲存層級存取保護已從 Volume 或 qtree 移除 vserver security file-directory show 命令。

    vserver security file-directory show -vserver vs1 -path /datavol2

                    Vserver: vs1
                  File Path: /datavol2
          File Inode Number: 99
             Security Style: ntfs
            Effective Style: ntfs
             DOS Attributes: 10
     DOS Attributes in Text: ----D---
    Expanded Dos Attributes: -
               Unix User Id: 0
              Unix Group Id: 0
             Unix Mode Bits: 777
     Unix Mode Bits in Text: rwxrwxrwx
                       ACLs: NTFS Security Descriptor
                             Control:0xbf14
                             Owner:BUILTIN\Administrators
                             Group:BUILTIN\Administrators
                             SACL - ACEs
                               AUDIT-EXAMPLE\Domain Users-0xf01ff-OI|CI|FA
                             DACL - ACEs
                               ALLOW-EXAMPLE\Domain Admins-0x1f01ff-OI|CI
                               ALLOW-EXAMPLE\Domain Users-0x1301bf-OI|CI