
On Monday, October 14, 2002, at 05:08 PM, Bryan Fullerton wrote:
On Monday, October 14, 2002, at 06:15 AM, Martin Edenhofer wrote:
- I had to do a "chgrp -R www $HOME/var/article" to allow Apache to write copies of the messages sent. Maybe document this?
Did you use SetPermissions.pl?
Ok, time to revisit this. :) I ran bin/SetPermissions.pl, and it broke $HOME/var/article again. So this *does* need to be fixed in SetPermissions.pl. Looking at the script, the only things I see which affect $HOME/var/article are: chown -R $OTRSUSER.$OTRSGROUP $OTRSDEST/var/ chmod -R 2775 $OTRSDEST/var/article/ Which is wrong, unless your web user is in $OTRSGROUP. There should be something in there like: chgrp -R $WEBGROUP $HOME/var/article/ Otherwise, the web server can't write files into $HOME/var/article, which it tries to do each time you send an email response. Also, I note that SetPermissions.pl tries to do a 'chown $OTRSUSER.root' in several places, which won't work on FreeBSD (or any other OS without a root group). Perhaps something like 'chown $OTRSUSER.0' (0 should be root's numeric gid?). Didn't particularly break anything, but there's probably some reason you're trying to do that. Thanks, Bryan