The FPolicy server receives a notification from the storage system for setattr operations.
When a set attributes (setattr) request is made by an NFS client to the storage system, the storage system conducts all the relevant checks on the file. The relevant checks include checking permissions, 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, if the file extension is included in the FPolicy ext[ension] inc[lude] list. The FPolicy server receives this request and allows or blocks the setattr request, based on the configuration of the policies.
When a set attributes (setattr) request is made by CIFS clients to the storage system using the NT_TRANSACT_SET_SECURITY_DESC operation, the storage system sends setattr notification if the CIFS client makes changes to the security descriptor. The security descriptor information includes owner, group, discretionary access control list (dacl), and system access control list (sacl) information. If the Windows-based CIFS client sends the NT_TRANSACT_SET_SECURITY_DESC operation to the storage system, without changing the security descriptor information, it does not forward the request to the FPolicy server.
The setattr operation should be added to the monitored operations list for the FPolicy server to receive a notification from the storage system. The setattr operation can be monitored through the CLI or ONTAPI. It can also be set by the FPolicy server using a bitmask.
To enable file extension-based screening, for NFS operations, set the no_i2p option to off on the volume. This enables the inode-to-path file name translation on the volume.