跳转到主内容

如何对同一用户或组的继承和非继承权限不同的目录应用 NTFS 权限

Views:
59
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用于

ONTAP 9

说明

警告

  • 此过程不是 NTFS ACL 管理的推荐方法。
  • 建议尽可能使用 Windows "安全"选项卡。
  • NTFS ACL 权限可以应用于以下对象:
    • 当前文件夹
    • 子文件夹
    • 文件
  • 您可以将 NTFS ACL 应用于所有三个,但不能为同一用户应用不同的权限集
例如:
​​​​​
vserver security file-directory ntfs dacl add -ntfs-sd <SD-Name> -vserver <vServer-Name> -access-type allow -account "Domain\User_or_Group" -rights modify -apply-to sub-folders,files
  • 第一个命令成功
vserver security file-directory ntfs dacl add -ntfs-sd <SD-Name> -vserver <vServer-Name> -access-type allow -account "Domain\User_or_Group" -rights read -apply-to this-folder
  • 第二个命令失败,并显示以下错误字符串:error: command failed: duplicate entry
    • 出现此错误的原因是,您无法在 1 个安全描述符 (SD) 中向同一个对象 (user\group) 添加 2 组不同的权限。
  • 如果需要,可以从 Windows 端使用此功能:Security Tab > Advanced

image00004.png

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.