I can't give editing permissions to a user inside a group that doesn't have editing permissions?

Hi everyone!

This is a question that should be simple (or so I hope) but it’s driving me nuts.

Nextcloud version: 20.0.12
Operating system and version: Linux 5.4.0-56-generic x86_64 (that’s how it’s listed in the settings)
Apache or nginx version: I don’t know.
PHP version: 7.4.3

The issue:

I have an instance organized in groups. Y created a Group Folder and am sharing files with this structure:

  • (Root Group Folder - Shared with Groups A and B with all permissions)
    • Subfolder - Shared with Groups B and C with all permissions except deleting and editing
      • Sub-subfolder - Shared with User X (part of group B) with all permissions

This is how it looks in the sharing panel of Sub-subfolder:


My expectation:

By default, User X shouldn’t be able to edit Sub-subfolder because they’re part of Group B which doesn’t have editing permissions in Subfolder (and thus on Sub-subfolder).

But as I explicitly shared Sub-subfolder with User X with all permissions, they should be able to edit it even if their group isn’t.

What happens:

User X still isn’t able to edit Sub-subfolder unless I give editing permissions to the whole Group B.


Is this how it is supposed to work, or is something wrong with my setup?
Is user-level sharing not capable of overriding group-level sharing?

Edit: Slightly edited the title for more clarity.


isn’t shared with this user in a separate share point?

Hi, @tflidd! Thanks for the reply

I’m not sure what you mean by a separate share point.

I went into the Sub-subfolder sharing settings and shared it specifically with User X with all permissions, but they are still unable to edit anything in that folder. I even tried sharing a specific file inside that folder, to no avail.