[Proftpd-user] Expecting too much flexibility from proftpd?
"Stefan Günther" <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <trinity-d6d1eb72-304f-43d6-88b4-5779b944ab02-1508665820291@3c-app-webde-bap47> |
Hello, I don't know whether I'm expecting too much flexibility from proftpd or whether I do not understand the configuration. Here is what I'm trying to achieve: We have two webservers running on the same host (port 80 and 81, running as www-data1 and www-data2) with different setup directories (/var/www/html1and /var/www/html2) and two different users responsible for the content (user1 and user2). The home dir for each user is the corresponding webserver dir. I have activated "DefaultRoot ~" in proftpd.conf and added the following directives for the setup dirs: <Directory /var/www/html1> UserOwner www-data1 GroupOwner www-data1 </Directory> <Directory /var/www/html2> UserOwner www-data2 GroupOwner www-data2 </Directory> A configest does not complain about these lines but an upload e.g. by user1 to /var/www/html1 adds a file with the UID of user1 instead of www-data1. Why is the configuration ignored and how do I have to change the configuration to get different setups for the two users? Thanks for any hints & suggestions, Stefan ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html