Can't set folder permission

Hello,

I created a directory where I moved another folder via drag’n’drop. That folder was created by an ordinary user.

<my folder [admin]>
L

Even though I’m admin of ‘team1’ and the user of that ‘user folder’ is a group member I can’t assign ‘my folder’ to ‘team1’:

path contains files shared with you

How can I fix this?

BR
Michael