$ webapp-config -I -h webmail -d /webmail squirrelmail 1.4.4-r1 The install works, but the permissions are a bit strange. webapp-config is setting the owner/group correctly to lighttpd... but on data/ its set to apache instead of lighttpd! /var/www/webmail/root/webmail # ls -l total 64 drwxr-xr-x 5 lighttpd lighttpd 4096 Jun 25 23:14 class/ drwxr-xr-x 2 lighttpd lighttpd 4096 Jun 25 23:14 config/ -rwxr-xr-x 2 lighttpd lighttpd 92 Jun 25 22:37 configure* drwxr-xr-x 3 lighttpd lighttpd 4096 Jun 25 23:14 contrib/ drwxrwxr-x 2 apache apache 4096 Jun 25 23:14 data/ drwxr-xr-x 3 lighttpd lighttpd 4096 Jun 25 23:14 doc/ drwxr-xr-x 4 lighttpd lighttpd 4096 Jun 25 23:14 functions/ drwxr-xr-x 3 lighttpd lighttpd 4096 Jun 25 23:14 help/ drwxr-xr-x 2 lighttpd lighttpd 4096 Jun 25 23:14 images/ drwxr-xr-x 3 lighttpd lighttpd 4096 Jun 25 23:14 include/ -rw-rw-r-- 1 apache apache 338 Jun 25 23:14 index.php drwxr-xr-x 2 lighttpd lighttpd 4096 Jun 25 23:14 locale/ drwxr-xr-x 25 lighttpd lighttpd 4096 Jun 25 23:14 plugins/ drwxr-xr-x 2 lighttpd lighttpd 4096 Jun 25 23:14 po/ drwxr-xr-x 2 lighttpd lighttpd 4096 Jun 25 23:14 src/ drwxr-xr-x 3 lighttpd lighttpd 4096 Jun 25 23:14 themes Reproducible: Always Steps to Reproduce: Actual Results: Expected Results: All the directories would be chown'd lighttpd/lighttpd (since that's what I've configured webapp config to do.. its worked on all the dirs except data/).
It's supposed to be owned by apache so the web server can write to it.
D'uh. "It's supposed to be owned by apache so the web server can write to it." is, pardon me for being blunt, complete crap. Read my initial comment.. I'm complaining that the right owner/group isn't being set. In webapp-config I've explicitly set VHOST_DEFAULT_UID and VHOST_DEFAULT_GID to be "lighttpd", so why isn't it applying it to those files? Its a bug. Please fix it.
well then you should've provided that info with the bug report... reassigning as this isn't a squirrelmail bug
David, Not being nice in bug reports is a good way to have your request ignored. We are doing this for free, you know. Reassigning to Stu
(In reply to comment #3) > well then you should've provided that info with the bug report... Didn't I cover it in the "Expected Results" bit? Or is it my bad for not explicitly stating VHOST_DEFAULT_UID/ VHOST_DEFAULT_GID?
Hi, Please re-test with webapp-config v1.50. This should resolve your issue. Best regards, Stu