Hi Bryan,

On Thu, Oct 17, 2002 at 12:48:00PM -0400, Bryan Fullerton wrote:

> 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.

Fixed.

> 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.

A good idea. I changed it. Thanks. 

> Bryan

  Martin

--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--
"Security is a process, not a product." - Bruce Schneider

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to