You can use the quota report command with a specific file path to determine which quota limits affect write operations to a file. This can help you understand which quota is preventing a write operation.
sys1> quota report /vol/vol1/q1/f4.txt K-Bytes Files Type ID Volume Tree Used Limit Used Limit Quota Specifier ----- -------- -------- -------- --------- --------- ------- ------- --------------- user jsmith vol1 - 112 204800 7 - jsmith user jsmith vol1 q1 0 76800 5 - jsmith tree 1 vol1 q1 0 409600 6 - /vol/vol1/q1