The directories that can be accessed by different users can be different. You can assign different user permissions for the same directory.
If the hard quota of one type of quota does not pass the check, the I/O will be rejected. If a directory quota, user quota, and group quota are concurrently configured in a shared directory in which you are performing operations, each write I/O operation will be restricted by the three quotas.
The I/O operation and quota update succeed or fail at the same time, ensuring that the used capacity is correct in each I/O check. Update the quota (the latest sum of the capacity and file quantity) and write the quota and I/O data to the file system. A storage system uses hard quotas (including hard quotas of capacity and files) to restrict the maximum number of resources available to each user.