跳转到主内容

如何通过 PST 在同一用户或组的继承权限和非继承权限不同的目录上应用 NTFS 权限

Views:
11
Visibility:
Internal
Votes:
0
Category:
ontap-9
Specialty:
not set
Last Updated:

适用场景

  • ONTAP 9
  • ONTAP PowerShell 工具包( PST )
  • NTFS 安全描述符( SD ) \ 随机访问控制列表( DACL ) \ 访问控制列表( ACL )

问题描述

  • NTFS ACL 权限可以应用于这些对象
    • 当前文件夹
    • 子文件夹
    • 文件
  • 您可以将 NTFS ACL 应用于所有这三个,但不能为同一用户应用不同的权限集
    • 例如
      • 第一个命令成功

Add-NcFileDirectorySecurityNtfsDacl -SecurityDescriptor <security descriptor name> -VserverContext <vserver name> -AccessType allow -Account "domain\user or group" -Rights modify -ApplyTo sub_folders,files

  • 第二个命令未成功,但失败并显示以下事件: Add-NcFileDirectorySecurityNtfsDacl: duplicate entry

Add-NcFileDirectorySecurityNtfsDacl -SecurityDescriptor <security descriptor name> -VserverContext <vserver name> -AccessType allow -Account "domain\user or group" -Rights read -ApplyTo this_folder

由于 " 不能在 1 个安全描述符( SD )中向同一对象(用户 \ 组)添加 2 组不同的权限 "

  • 在需要时,此功能可从 Windows 端获得: "security tab > Advanced"clipboard_e475cdcb43fc7075cd03d4e32183d3041.png

 

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

New to NetApp?

Learn more about our award-winning Support

This is an internal KB article and its content should not be copy/pasted and shared with people outside of NetApp. Always seek Duty Manager authentication of caller for password reset requests. If you need further assistance post a question in Knowledge Xchange