Using separate partition for user files

Hi,
NC 25.0.2
I need to restrict disk space for one user let’s say myuser, so I created separate partition for it. I copied all content with cp -rp to the new partition? the mounted it to the path …/data/myuser
Looks good but after that I can not create file or create folder. I gave 0777 permissions but doesn’t work. Owner is apache, I can create file like
sudo -u apache touch .../data/myuser/files/test.txt
So I have appropriate permissions for apache user. If I understand right the problem is not in folder permissions but somewhere in NC or database.
Maybe it’s the unsupported way of mappinf separate partition?

Why not use a quota to restrict space?

Did you symlink that folder or something? I didn’t see that in the info you posted.