Cannot delete files in CIFS volume on snaplock enterprise
Applies to
- ONTAP 9
- SnapLock
- CIFS/SMB
Issue
- Users are unable to delete certain files in a CIFS volume, even when they have Full Control permissions on both the share and NTFS ACLs. Attempts to delete the file return an “Access Denied” error.
- Security trace shows:
SecurityStyle: NTFS and Access is denied as the volume is readonly or directory is a snapshot while setting attributes. Packet trace:SetInfoResponse, Error: STATUS_CANNOT_DELETEFile fingerprint output (ONTAP CLI):FormattedRetentionTime: Thu Feb 21 08:26:51 GMT 2030
Example:::*> volume file fingerprint dump -session-id 17039362 Vserver:svm1 Session-ID:17039362 Volume:Archive Path:/vol/Archive/DOWNLOADS/test.7Z Metadata Fingerprint:cyRWCMLdWeQifcOiM9Q9K/g7YED9KbojgOfa1hx4HuU= Fingerprint Algorithm:SHA256 Fingerprint Scope:data-and-metadata Fingerprint Start Time:1775554853 Formatted Fingerprint Start Time:Tue Apr 7 09:40:53 GMT 2026 Fingerprint Version:3 SnapLock License:available SnapLock System ComplianceClock:1775554543Formatted SnapLock System ComplianceClock:Tue Apr 7 09:35:43 GMT 2026 Volume SnapLock Type:enterprise Volume ComplianceClock:1775554543 Formatted Volume ComplianceClock:Tue Apr 7 09:35:43 GMT 2026 Volume Expiry Date:1923457330 Is Volume Expiry Date Wraparound:false Formatted Volume Expiry Date:Sat Dec 14 05:42:10 GMT 2030 Filesystem ID:1034 File ID:715218 File Type:worm File Size:1829067 Creation Time:1740126721 Formatted Creation Time:Fri Feb 21 08:32:01 GMT 2025 Modification Time:1740126721 Formatted Modification Time:Fri Feb 21 08:32:01 GMT 2025 Changed Time:1740126411 Is Changed Time Wraparound:false Formatted Changed Time:Fri Feb 21 08:26:51 GMT 2025 Retention Time:1897892811 Is Retention Time Wraparound:false Formatted Retention Time:Thu Feb 21 08:26:51 GMT 2030 Access Time:- Formatted Access Time:-
