diff --git a/pkg/filesystem/virtual/configuration/nfsv4_mount_darwin.go b/pkg/filesystem/virtual/configuration/nfsv4_mount_darwin.go index 6459c22e..13c35e72 100644 --- a/pkg/filesystem/virtual/configuration/nfsv4_mount_darwin.go +++ b/pkg/filesystem/virtual/configuration/nfsv4_mount_darwin.go @@ -149,10 +149,12 @@ func (m *nfsv4Mount) mount(terminationGroup program.Group, rpcServer *rpcserver. attrMask[0] |= 1 << nfs_sys_prot.NFS_MATTR_FLAGS flags := nfs_sys_prot.NfsMattrFlags{ Mask: []uint32{ - 1 << nfs_sys_prot.NFS_MFLAG_NOCALLBACK, + (1 << nfs_sys_prot.NFS_MFLAG_NOCALLBACK) | + (1 << nfs_sys_prot.NFS_MFLAG_SKIP_RENEW), }, Value: []uint32{ - 1 << nfs_sys_prot.NFS_MFLAG_NOCALLBACK, + (1 << nfs_sys_prot.NFS_MFLAG_NOCALLBACK) | + (1 << nfs_sys_prot.NFS_MFLAG_SKIP_RENEW), }, } flags.WriteTo(&attrVals)