The FPolicy server receives a notification from the storage system for file close operations.
When a file close request is made by a CIFS or NFSv4 client to the storage system, the storage system conducts all the relevant checks on the file. The relevant checks include checking permission, checking if the file is available, checking if the file is being accessed by some other client, and so on. After the file passes the checks, the request is forwarded to the FPolicy server. After the file is closed, the storage system sends a notification to the FPolicy server that the file is closed.
The FPolicy server cannot block the file close operation.
The file close operation should be added to the monitored operations list for the FPolicy server to receive a notification from the storage system. The file close operation can be monitored using the CLI or ONTAPI. It can also be set by the FPolicy server using a bitmask.
Open downgrade operations in NFSv4 are also considered close operations, and notifications are sent for such operations.
To enable file extension-based screening, for NFSv4 operations, set the no_i2p option to off on the volume. This enables the inode-to-path file name translation on the volume.