Need help with proftpd.conf - trying to config a user to write files as other user.
Hi All,I have a small problem with proftpd. What Im trying to do is setup users that will when uploading, overwriting will use another 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:
Code:
ServerName "ProFTPD Default Installation" ServerType standalone DefaultServer on TimeoutIdle 900 TimeoutNoTransfer 900 Port 21 Umask 022 MaxInstances 30 User nobody Group nogroup DefaultRoot ~ <Global> AllowOverwrite on IdentLookups off </Global> <Directory /home/maindomain.com/*> UserOwner mainuser GroupOwner mainuser AllowOverwrite on </Directory>
Any help would be muchly appreciated!