I have ProFTPD installed on a VPS of mine and it allows users to login based on Linux users system. That works fine, I have them all confined to the same exact directory. Problem is when someone uploads a file it gets uploaded using their ownership permissions.
How do I configure ProFTPD so that no matter what user uploads a file it always gets ownership of X user and X group?
EDIT: I've got it setup this way now:
<Directory /usr/share/nginx/www/*> UserOwner www-data GroupOwner www-data Umask 0003 0003 </Directory>
Permissions are working but only on the root directory www, not underneath it. Group and User ownership doesn't even work. Though according to the documentation this SHOULD work.