Hi all, I am facing a problem which seems to be a common but couldnt find the real solution. I am lookin for couple of days on net to find the Solution without success. So first of all, the Situation: I am using these components - VPS Ubuntu 16.04 LTE - Webmin version 1.81 - Virtualmin 6.03 . Virtualserver with FCGId mode - PHP Version 7.1.7
Now the Problem When i create a virtual Server on virtualmin, it completes the installation without any Problems. Now i install a wordpress on /home/virtualservername/public_html and it runs so far fine. Now i want to install some plugins etc in WP Backend and WP brings a windows and ask for FTP cresidentials. :-( Now i change the ownership from "virtaulservernam:virtualservername to "www-data" on /public_html directory recursive and see that i can update or install the Plugins without giving the ftp Access. It works as it should be. i didnt made any changes on the directory public_html with root Access..
I put in user management of "www-data" the name of Virtualserver as member of secondry group but it wont work. I also tried to change php mode to CGI and Apache but with same result.
Question: What could be wrong here ? it can not be the solution to change Public_html directory with Ownership of "www-data" cuz in this case the ftp user have no permissions to write on the directory.
It would be nice if someone could give methe hint to fix the problem. regards nomi