Files access control does not work as expected

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud Hub 8 (29.0.2)
Operating system and version (eg, Ubuntu 29.04): Ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.59
PHP version (eg, 8.3): 8.3.0

The issue you are facing:

I would like to set up file access control.
The goal is that only members of a “restricted” group can upload xml and txt files. Other file types are not allowed.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Install the App "Files access control

  2. Fill out

  3. Configured like this I can upload everything except xml files.

  4. If I now change “matches” to “does not match” only the upload of xml files should work according to my understanding. But then I can’t upload anything at all.

What is perhaps also important: The files are uploaded via WebDav.