跳转到主内容

删除thumbs.db文件的权限被拒绝

Views:
44
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas<a>2009618218</a>
Last Updated:

适用场景

  • ONTAP 9
  • CIFS

问题描述

  • 无法删除CIFS共享
  • 共享中的thumbs.db文件
  • 删除失败
PS K:\empty> dir Directory: K:\empty Mode LastWriteTime Length Name ---- ------------- ------ -----a---- 06/22/2023 13:03 0 test2.txt PS K:\blank> dir test2.* -File -Recurse -ErrorAction SilentlyContinue -Force | Remove item PS K:\empty> dir PS K:\empty> PS K:\blank> dir thumbs.db -File -Recurse -ErrorAction SilentlyContinue -Force | Remove item Remove-Item : The item K:\empty\Thumbs.db cannot be removed: you do not have enough Access permissions to perform this operation. In Line:1 Character:69 + ... .db -File -Recurse -ErrorAction SilentlyContinue -Force | Remove item + ~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (K:\empty\Thumbs.db:FileInfo) [Remove-Item], IOException + FullyQualifiedErrorId : RemoveFileSystemItemUnAuthorizedAccess,Microsoft.PowerShell.Commands.RemoveItemCommand
  • 未启用基于访问的枚举(ABE)
Share: XXXXXXXXX CIFS Server NetBIOS Name: SVM-NAS Path: /svm_nas_cifs/data/XXXX Share Properties: browsable show-previous-versions oplocks changenotify Symlink Properties: symlinks File Mode Creation Mask: - Directory Mode Creation Mask: - Share Comment: User data Share ACL: everyone / Full Control File Attribute Cache Lifetime: - Volume Name: svm_nas_cifs Offline Files: manual Vscan File-Operations Profile: standard Maximum Tree Connections on Share: 4294967295 UNIX Group for File Create: -

 

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.