The FPolicy server receives a notification from the storage system for directory create operations.
When a directory create 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 drectory 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 create operation is requested, the request is denied.
The directory create operation should be added to the monitored operations list for the FPolicy server to receive a notification from the storage system. The directory create operation can be monitored through the CLI or ONTAPI. It can also be set by the FPolicy server using a bitmask.