webapp-config creates htdocs directory with permissions 777 instead of 755 Reproducible: Always Steps to Reproduce: 1. /usr/sbin/webapp-config -V -I -h www.example.com -u root -d /foo foo 0.0.0 2. ls -al /var/www/www.example.com 3. Actual Results: # ls -al /var/www/www.example.com/ total 2 drwxr-xr-x 3 root root 72 Apr 2 21:54 . drwxr-xr-x 13 root root 400 Apr 2 21:30 .. drwxrwxrwx 3 root root 72 Apr 2 21:54 htdocs Expected Results: # ls -al /var/www/www.example.com/ total 2 drwxr-xr-x 3 root root 72 Apr 2 21:54 . drwxr-xr-x 13 root root 400 Apr 2 21:30 .. drwxr-xr-x 3 root root 72 Apr 2 21:54 htdocs
I'm working on a fix now, will have webapp-config updated in portage ASAP. Watch this space.
Fixed in webapp-config-1.10-r14 (which has just been marked stable for security bug #91785 - other arches will follow shortly). Thanks very much for pointing this nasty one out and apologies for the delayed responses !
Ahem, that should have been '.. which has just been marked stable on _x86_ ..' :)