I am running a vsftpd server with a few user accounts. Every user has his own, private directory set as chroot in which no one but he himself should write, like this:
So far this works, every file uploaded into these directories has the owner user:usergroup
However, I have a public directory (mounted into each userdir with mount --bind) in which everyone should have write permissions for everyones files. I created a group called ftpusergrop containing every user from the FTP server.
My goal is to set the owner of each file in the public directory to user:ftpusergroup and the permissions 774. Any help would be really appreciated