Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97068 - wrong perms when installing squirrelmail-1.4.4-r1 using webapp-config-1.11
Summary: wrong perms when installing squirrelmail-1.4.4-r1 using webapp-config-1.11
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Other
: High normal
Assignee: Stuart Herbert (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-25 14:31 UTC by david somers
Modified: 2005-11-20 09:54 UTC (History)
2 users (show)

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 david somers 2005-06-25 14:31:51 UTC
$ 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/).
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-02 16:25:02 UTC
It's supposed to be owned by apache so the web server can write to it.
Comment 2 david somers 2005-07-02 16:43:38 UTC
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. 
 
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-02 17:29:18 UTC
well then you should've provided that info with the bug report... reassigning as
this isn't a squirrelmail bug
Comment 4 Renat Lumpau (RETIRED) gentoo-dev 2005-07-02 17:31:56 UTC
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
Comment 5 david somers 2005-07-02 22:23:21 UTC
(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? 
   
   
Comment 6 Stuart Herbert (RETIRED) gentoo-dev 2005-11-20 09:54:10 UTC
Hi,

Please re-test with webapp-config v1.50.  This should resolve your issue.

Best regards,
Stu