跳转到主内容

当目录或文件被拖放或移动时,为什么访问权限不会被继承?

Views:
157
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
7dot
Last Updated:

适用场景

  • Data ONTAP 7
  • ONTAP 9

问题解答

  • 当剪切/粘贴相同的目录或文件时,访问权限无法正确继承。
  • 由于NTFS访问控制列表(ACL)的设计、NTFS卷应具有这种权限行为
  • 这是从Windows XP到Windows Vista和Windows Server 2008的设计更改。
  • 根据微软的知识库文章: 复制和移动文件及文件夹时如何处理权限,默认情况下,对象会从其父对象继承权限,无论是在创建时,还是在复制或移动到其父文件夹时。
  • 此规则的唯一例外是将对象移动到同一卷内的其他文件夹。在这种情况下,如果禁用对象的继承,则其原始权限将保留。
  • 在  继承方面、NetApp的SMB服务器将像现代Windows SMB服务器一样工作。
  • 使用  以相同方式配置的Windows SMB服务器从同一客户端测试相同操作。
  • 如果所有内容都相同、请对"正常工作的"SMB服务器和 运行不正常的NetApp SMB进行数据包跟踪。
  • 记录以下信息:
    • 客户端IP
    • 服务器IP
    • 要复制到的文件夹的完整路径
    • 正在 复制到文件夹的文件名
    • 在移动文件之前、获取父目录上ACL的完整输出。
    • 记下确切时间
    • 启动跟踪
    • 断开SMB会话的连接
    • 重新连接到共享并执行此操作
    • 停止数据包跟踪
    • 操作完成后、在父目录和文件本身上获取ACL的完整输出

 

 

 

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.