After the space is full, you can still copy

Nextcloud version : 19.0.0
Operating system and version :centos7
Apache or nginx version : nginx 1.17
PHP version : 7.4

The issue you are facing:

Is this the first time you’ve seen this error? :y

Steps to replicate it:

  1. The user space is set to 1G (or other values);
  2. Mount an external storage;
  3. Copy multiple files from external storage to local, so that the total file size exceeds the set value, such as 1G;
  4. At this time, “Your storage is full, files can not be updated or synced anymore!” will be displayed, but I can still copy files from external storage to local storage;
  5. After displaying “Your storage is full, files can not be updated or synced anymore!”, I can still copy files to another local storage folder in local storage;

I expect that after the storage space exceeds the set value, the user can be prohibited from further operations, such as copying, moving files from external storage to local storage, etc.