I have a small problem with proftpd. What Im trying to do is setup users that will when uploading files, creating directories and overwriting will use another system user and group.
For example I have mainuser with domain name maindomain.com and then I have subuser1, subuser2 and subuser3. All users have ftp access to /home/maindomain.com and all users have their own group that is the same as the username.
Now, how would I write my proftpd.conf to allow all users to overwrite files, upload files and created directories that are owned and grouped to mainuser?
So far my config file looks like this:
ServerName "ProFTPD Default Installation"
Now this does work when creating new files and directories but will give a permission denied when trying to overwrite anything.
Any help would be muchly appreciated!