ca05b75 Fix incorrect file permissions of vmcore-dmesg-incomplete.txt

1 file Authored by liutgnu 3 years ago, Committed by kasong 3 years ago,
    Fix incorrect file permissions of vmcore-dmesg-incomplete.txt
    
    vmcore-dmesg-incomplete.txt is generated by shell redirection,
    which taking the default umask value. When dmesg collector exits
    with non-zero, the file will exist and anyone can have access to
    it.
    
    This patch fixed the issue by chmod the file, making it accessible
    only to its owner.
    
    Signed-off-by: Tao Liu <ltao@redhat.com>
    Acked-by: Kairui Song <kasong@redhat.com>
    
        
file modified
+3 -0