Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
:
icinga
:
production
>
check_mk
> check_mk-no_chgrp.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File check_mk-no_chgrp.patch of Package check_mk
--- check_mk-1.2.2.orig/setup.sh 2013-04-08 06:34:38.000000000 -0400 +++ check_mk-1.2.2/setup.sh 2013-04-08 12:55:50.957833691 -0400 @@ -803,29 +803,29 @@ done && mkdir -p $DESTDIR$vardir/{autochecks,counters,precompiled,cache,logwatch,web,wato} && if [ -z "$DESTDIR" ] && id "$nagiosuser" > /dev/null 2>&1 && [ $UID = 0 ] ; then - chown -R $nagiosuser $DESTDIR$vardir/{counters,cache,logwatch} - chown $nagiosuser $DESTDIR$vardir/web + echo chown -R $nagiosuser $DESTDIR$vardir/{counters,cache,logwatch} + echo chown $nagiosuser $DESTDIR$vardir/web fi && mkdir -p $DESTDIR$confdir/conf.d && if [ -z "$DESTDIR" ] ; then - chgrp -R $wwwgroup $DESTDIR$vardir/web && + #chgrp -R $wwwgroup $DESTDIR$vardir/web && chmod -R g+w $DESTDIR$vardir/web && - chgrp -R $wwwgroup $DESTDIR$vardir/wato && + #chgrp -R $wwwgroup $DESTDIR$vardir/wato && chmod -R g+w $DESTDIR$vardir/wato mkdir -p $DESTDIR$vardir/tmp && - chgrp -R $wwwgroup $DESTDIR$vardir/tmp && + #chgrp -R $wwwgroup $DESTDIR$vardir/tmp && chmod g+w $DESTDIR$vardir/tmp && mkdir -p $DESTDIR$confdir/conf.d/wato && chmod -R g+w $DESTDIR$confdir/conf.d/wato && - chgrp -R $wwwgroup $DESTDIR$confdir/conf.d/wato + #chgrp -R $wwwgroup $DESTDIR$confdir/conf.d/wato mkdir -p $DESTDIR$confdir/multisite.d/wato && chmod -R g+w $DESTDIR$confdir/multisite.d/wato && - chgrp -R $wwwgroup $DESTDIR$confdir/multisite.d/wato + #chgrp -R $wwwgroup $DESTDIR$confdir/multisite.d/wato touch $DESTDIR$confdir/multisite.d/sites.mk && - chgrp $wwwgroup $DESTDIR$confdir/multisite.d/sites.mk && + #chgrp $wwwgroup $DESTDIR$confdir/multisite.d/sites.mk && chmod 664 $DESTDIR$confdir/multisite.d/sites.mk && touch $DESTDIR$confdir/conf.d/distributed_wato.mk && - chgrp $wwwgroup $DESTDIR$confdir/conf.d/distributed_wato.mk && + #chgrp $wwwgroup $DESTDIR$confdir/conf.d/distributed_wato.mk && chmod 664 $DESTDIR$confdir/conf.d/distributed_wato.mk fi && tar xzf $SRCDIR/conf.tar.gz -C $DESTDIR$confdir &&