Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to delete a file that can't be done on the client side.
Remove-NcFile comes back with permission denied.
Versions
- 9.8.0 Powershell Module
- 9.5.P6 Clustered Ontap
Remove-NcFile : Permission denied
+ CategoryInfo : InvalidOperation: (10.127.216.50:NcController) [Remove-NcFile], EAPIERROR
+ FullyQualifiedErrorId : ApiException,DataONTAP.C.PowerShell.SDK.Cmdlets.File.RemoveNcFile
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the failure reason when attempting to delete from the client?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What protocol are you using? Is it happening with one client? is it only one share?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The Remove-NCFile commandlet is from the ONTAP Powershell toolkit.
The file's parent folder happened to be locked, thereby preventing its removal.
"vserver lock show" was used to obtain the Lock UUID.
"vserver locks break - lockid" broke the lock.
The file was then removed/deleted.
