Description
When a client is associated with a nodemap that has offsets defined, the nodemap maps the PROJID and UID for ID 0 to the offset (depending on the offset, it may also be squashed). A root user of such a nodemap can attempt to set the default quota (ID 0) but it is actually offset. Therefore, a command, e.g., "lfs setquota -P -b 10G -B 10G -i 100K -I 100K /mnt/lustre" succeeds but it does not set the default quota (ID 0) (since the PROJID is offset to a non-zero value).
The expected behavior should be that only root users of privileged nodemaps (admin=1,trusted=1, and no offsets) should be able to set the default quota. Otherwise, return a corresponding errorcode.