-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Hello
I'm having problems with OC8.0 regard the quota with shared folders. Files added to other user's shared folder does not count until I manually rescan the folder.
What happens:
- create user A with 100MB
- create user B with 1000MB
- user A creates folder F
- user A shares folder F with user B
- user A adds 10MB of files to folder F (its quota uses 10MB)
- user B adds 50MB of files to folder F (not its quota nor user A quota is used)
6a. Acoording to past OC doc, A should have its quota used (https://doc.owncloud.org/server/6.0/user_manual/files/quota.html), and this is what I wanted
6b. Acoording to OC8.0 doc, B should have its quota used (https://doc.owncloud.org/server/8.0/user_manual/files/quota.html) - user B adds 50MB of files to folder F (not its quota nor user A quota is used)
The expected result would be:
6a. user B adds 50MB of files to folder F (user A quota is used)
or
6b. user B adds 50MB of files to folder F (user B quota is used)
In case of 6a:
7. user B adds 50MB of files to folder F. Fails with over quota usage
If I trigger a file-scan manually for user A (./occ files:scan --path="/A/"), its quota is updated correctly according to 6a (not 6b) (It is not what docs say but I guess it makes a little more sense).
If 7. is retried after the rescan, it recieves an over quota error.
The same problem of not updating user A quota happens when user B removes a file from folder F.
It seems that, at least, the quota checking is correct. At step 6., if user try to upload 100MB, OC avoids telling that there is not enough space. However, I can upload less than 90MB multiple times as user A quota is not updated.