dublicate post. pls delete it.

Permission denied while creating virtual server. I did try virtualmin permission fix option, but its not solved my problem.
Before this problem, I did add a user under webmin(users and gorups menu) with “home” home directory, bacause I want manage all website files with one ftp account, but this added user not solve my ftp problem, after this process I delete this user. But now all my websites giving permission error when accessing. Also I can not create new virtual server. And creating virtual server only this files created under website home directory

https://i.hizliresim.com/m308My.jpg

you can see errors below.

Creating administration group testtt .. .. done Creating administration user testtt .. .. done

Creating aliases for administration user …
… done

Adding administration user to groups …
… done

Creating home directory …
… done

Creating mailbox for administration user …
… done

Adding new DNS zone …
… done

Adding to email domains list …
… done

Adding default mail aliases …
… done

Adding new virtual website …
… done

Adding webserver user www-data to server’s group …
… done

Performing other Apache configuration …
… configuration failed : Failed to copy /etc/php5/cgi/php.ini to /home/testtt/etc/php5/php.ini : cp: failed to access ‘/home/testtt/etc/php5/php.ini’: Permission denied

Setting up scheduled Webalizer reporting …
… Webalizer reporting failed! : Failed to open /home/testtt/public_html/stats/.htaccess.webmintmp.1982 : Permission denied at …/web-lib-funcs.pl line 1427, line 1.

Setting up log file rotation …
… done

Creating MySQL login …
… done

Creating MySQL database testtt …
… done

Setting up spam filtering …
… done

Setting up virus filtering …
… done

Setting up AWstats reporting …
… AWstats reporting failed! : virtualmin-awstats::feature_setup failed : Failed to open /home/testtt/cgi-bin/awstats.pl.webmintmp.1982 : Permission denied at …/web-lib-funcs.pl line 1427, line 1.

Creating Webmin user …
… done

Re-starting DNS server …
… done

Applying web server configuration …
… done

Re-loading Webmin …
… done

Saving server details …
… done