Skip to main content

vserver security file-directory remove-slag

Contributors
Suggest changes

Removes Storage-Level Access Guard

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The vserver security file-directory remove-slag command removes Storage-Level Access Guard (SLAG) security from the specified volume or qtree path.

Parameters

-vserver <vserver> - Vserver

Specifies the name of the Vserver that is associated with the volume or qtree path from where you want to remove SLAG.

-path <text> - Path

Specifies the volume or qtree mounted junction path from which you want to remove SLAG security.

Examples

The following example removes SLAG security from the volume path "/vol1" on Vserver vs1.

cluster1::>vserver security file-directory show -vserver vs1 -path /vol1
Vserver: vs1
                      File Path: /vol1
                 Security Style: mixed
                Effective Style: unix
                 DOS Attributes: 10
         DOS Attributes in Text: ----D---
        Expanded Dos Attributes: -
                   Unix User Id: 0
                  Unix Group Id: 0
                 Unix Mode Bits: 755
         Unix Mode Bits in Text: rwxr-xr-x
                           ACLs: Storage-Level Access Guard security                                                                                      DACL (Applies to Directories):
                                    ALLOW-CIFS1\Administrator-0x1200a9
                                 DACL (Applies to Files):
                                    ALLOW-CIFS1\Administrator-0x1200a9
cluster1::>vserver security file-directory remove-slag -path /vol1 -vserver vs1
cluster1::>vserver security file-directory show -vserver vs1 -path /vol1
                        Vserver: vs1
                      File Path: /vol1
                 Security Style: mixed
                Effective Style: unix
                 DOS Attributes: 10
         DOS Attributes in Text: ----D---
        Expanded Dos Attributes: -
                   Unix User Id: 0
                  Unix Group Id: 0
                 Unix Mode Bits: 755
         Unix Mode Bits in Text: rwxr-xr-x
                           ACLs: -

The following example removes SLAG security from the qtree path "/vol1/q1" on Vserver vs1.

cluster1::>vserver security file-directory show -vserver vs1 -path /vol1/q1
Vserver: vs1
                      File Path: /vol1/q1
                 Security Style: mixed
                Effective Style: unix
                 DOS Attributes: 10
         DOS Attributes in Text: ----D---
        Expanded Dos Attributes: -
                   Unix User Id: 0
                  Unix Group Id: 0
                 Unix Mode Bits: 755
         Unix Mode Bits in Text: rwxr-xr-x
                           ACLs: Storage-Level Access Guard security                                                                                      DACL (Applies to Directories):
                                    ALLOW-CIFS1\Administrator-0x1200a9
                                 DACL (Applies to Files):
                                    ALLOW-CIFS1\Administrator-0x1200a9
cluster1::>vserver security file-directory remove-slag -path /vol1/q1 -vserver vs1
cluster1::>vserver security file-directory show -vserver vs1 -path /vol1/q1
                        Vserver: vs1
                      File Path: /vol1/q1
                 Security Style: mixed
                Effective Style: unix
                 DOS Attributes: 10
         DOS Attributes in Text: ----D---
        Expanded Dos Attributes: -
                   Unix User Id: 0
                  Unix Group Id: 0
                 Unix Mode Bits: 755
         Unix Mode Bits in Text: rwxr-xr-x
                           ACLs: -