Re: [LTP] [PATCH] logrotate01: fix a bug of config file's permission is wrong

Wanlong Gao
2012-05-11T05:31:29Z

On 05/11/2012 12:13 PM, Caspar Zhang wrote:

> 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 <penght@cn.fujitsu.com>
>
> Reviewed-by: Caspar Zhang <caspar@casparzhang.com>

pushed, thanks,

Wanlong Gao

>
>> ---
>> 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 ]
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list
>