Problem when deleting websites
There seems to be a problem in current svn version (don't know about earlier versions) when deleting websites.
rm: Entfernen von „/var/www/clients/client1/web2/web“ nicht möglich: Keine Berechtigung
and same message with all the folders in the web2 dir.
ls -ld /var/www/clients/client1/web2/web
drwx--x--- 2 web2 client1 4096 15. Aug 17:56 /var/www/clients/client1/web2/web
It seems even root cannot delete this, I tried a rm -r and rm -rf but same error.
After a few tests I realized that the web1 and web2 directories have the immutable bit set (chattr +i web2), so it can online be deleted if I do a chattr -i web2 first.
It seems that this step is missing on deleting a web (maybe on renaming or moving, too), so a web does not get deleted, including its vhost file.
This is no problem as long as no one tries to recreate a web with the same domain later on. If you try this you mess up your installation as the new web is not created correctly (logfile path missing, wrong vhost file).