Uncompletely changed site's ownership
Reseller "pepe" -> client32 Client "cliente" created by "pepe" -> client33
Reseller creates a site "pruebabug.com" intented to be owned by "cliente", but he forgot to select correct client
server:/var/www/pruebabug.com# ls -la total 0 drwxr-x--x 6 web180 client32 168 mar 1 23:11 . drwxr-xr-x 3 root root 104 mar 1 23:11 .. drwxr-x--x 2 web180 client32 48 mar 1 23:11 cgi-bin lrwxrwxrwx 1 web180 client32 38 mar 1 23:11 log -> /var/log/ispconfig/httpd/pruebabug.com drwxr-x--x 2 web180 client32 48 mar 1 23:11 ssl drwxrwxrwx 2 web180 client32 48 mar 1 23:11 tmp drwx--x--- 4 web180 client32 224 mar 1 23:11 web
Then he creates an ftp user, associated to site "pruebabug"
Looking at the username (pepe_pruebabug), he realizes site is not correctly owned, and then he changes site's ownership to "cliente", resulting in several problems:
- ftp username is shown as " [CLIENTNAME]pepe_pruebabug" in panel
- Ownership is not correctly changed on all site's folders:
server:/var/www/pruebabug.com# ls -la total 0 drwxr-x--x 6 web180 client33 168 mar 1 23:11 . drwxr-xr-x 3 root root 104 mar 1 23:11 .. drwxr-x--x 2 web180 client32 48 mar 1 23:11 cgi-bin lrwxrwxrwx 1 web180 client32 38 mar 1 23:11 log -> /var/log/ispconfig/httpd/pruebabug.com drwxr-x--x 2 web180 client32 48 mar 1 23:11 ssl drwxrwxrwx 2 web180 client32 48 mar 1 23:11 tmp drwx--x--- 4 web180 client32 224 mar 1 23:11 web
- open_basedir is not changed at all: /var/www/clients/client32/web180/web:/var/www/clients/client32/web180/tmp:/var/www/pruebabug.com/web:/srv/www/pruebabug.com/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin
Resulting in a site with several functional problems with php and unhappy resellers :)