0078587 Fix incorrect vmcore permissions when dumped through ssh

1 file Authored by liutgnu 3 years ago, Committed by kasong 3 years ago,
    Fix incorrect vmcore permissions when dumped through ssh
    
    Previously when dumping vmcore to a remote machine through ssh,
    the files are created remotely and file permissions are taken
    from the default umask value, which making the files accessible to
    anyone on the remote machine.
    
    This patch fixed the security issue by setting a customized umask value
    before the file creation on the remote machine.
    
    Signed-off-by: Tao Liu <ltao@redhat.com>
    Acked-by: Kairui Song <kasong@redhat.com>
    
        
file modified
+2 -2