CONTAP-522435: RFE SnapLock allow modification of ATime of a WORM URT file via protocol (CIFS/NFS)
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