From: Caspar Z. <ca...@ca...> - 2012-05-11 04:14:24
|
On 05/11/2012 10:37 AM, Peng Haitao wrote: > config file's permission should be 644, please refer to: > https://fedorahosted.org/logrotate/changeset/302 > > Signed-off-by: Peng Haitao <pe...@cn...> Reviewed-by: Caspar Zhang <ca...@ca...> > --- > testcases/commands/logrotate/logrotate_tests.sh | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/testcases/commands/logrotate/logrotate_tests.sh b/testcases/commands/logrotate/logrotate_tests.sh > index 827dd5f..55ef0b3 100755 > --- a/testcases/commands/logrotate/logrotate_tests.sh > +++ b/testcases/commands/logrotate/logrotate_tests.sh > @@ -192,6 +192,7 @@ test01() > rm -f $files > /dev/null 2>&1 > done > > + chmod 644 $LTPTMP/tst_logrotate.conf > logrotate -fv $LTPTMP/tst_logrotate.conf > $LTPTMP/tst_logrotate.out 2>&1 \ > || RC=$? > if [ $RC -eq 0 ] |