The FPolicy server receives a notification from the storage system for directory rename operations.
When a directory rename request is made by a CIFS or NFS client to the storage system, the storage system conducts all the relevant checks on the directory. The relevant checks include checking permissions, checking if the directory is available, checking if the directory is being accessed by some other client, and so on. After the directory passes the checks, the request is forwarded to the FPolicy server. If the required option is set to on in the file policy and a directory rename operation is requested, the request is denied.
The directory rename operation should be added to the monitored operations list for the FPolicy server to receive a notification from the storage system. The directory rename operation can be monitored through the CLI or ONTAPI. It can also be set by the FPolicy server using a bitmask.