Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87708 - webapp-config creates htdocs directory with permissions 777
Summary: webapp-config creates htdocs directory with permissions 777
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-02 12:23 UTC by Steven Armstrong
Modified: 2005-05-08 22:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Armstrong 2005-04-02 12:23:33 UTC
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
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-04-30 23:06:38 UTC
I'm working on a fix now, will have webapp-config updated in portage ASAP.  Watch this space.
Comment 2 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-05-08 22:15:26 UTC
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 !
Comment 3 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-05-08 22:20:58 UTC
Ahem, that should have been '.. which has just been marked stable on _x86_ ..' :)