Skip to main content
NetApp Knowledge Base

CONTAP-522435: RFE SnapLock allow modification of ATime of a WORM URT file via protocol (CIFS/NFS)

Views:
3
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
dp
Last Updated:

Issue

  • Modification of WORM file with unspecified retention (URT) fails with "Permission denied"
  • NFS Example:

[root@rhel1 SnapLockE]# stat testURT.txt
  File: testURT.txt
  Size: 4               Blocks: 0          IO Block: 65536  regular file
Device: 2fh/47d Inode: 3426680929  Links: 1
Access: (0555/-r-xr-xr-x)  Uid: (    0/    root)   Gid: (    1/     bin)
Context: system_u:object_r:nfs_t:s0
Access: 2025-08-13 03:49:29.000000000 -0400
Modify: 2025-08-13 03:49:18.016504000 -0400
Change: 2025-08-13 03:49:28.000000000 -0400
 Birth: -
[root@rhel1 SnapLockE]# date
Wed Aug 13 04:54:17 EDT 2025
[root@rhel1 SnapLockE]# touch -a -t 202508141200 testURT.txt
touch: cannot touch 'testURT.txt': Permission denied

  • Same procedure works fine with a file which has a retention set (ART File):

[root@rhel1 SnapLockE]# touch -a -t 202708141200 testART.txt
[root@rhel1 SnapLockE]# stat testART.txt
  File: testART.txt
  Size: 400             Blocks: 8          IO Block: 65536  regular file
Device: 2fh/47d Inode: 3426680933  Links: 1
Access: (0444/-r--r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
Context: system_u:object_r:nfs_t:s0
Access: 2027-08-14 12:00:00.000000000 -0400
Modify: 2025-08-13 04:33:22.747222000 -0400
Change: 2025-08-13 04:33:50.000000000 -0400

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.