Ticket #2278: mc-copy_chmod.diff
File mc-copy_chmod.diff, 653 bytes (added by eshkrig, 13 years ago) |
---|
-
src/filemanager/file.c
diff -Naur mc-4.7.5.2.orig/src/filemanager/file.c mc-4.7.5.2/src/filemanager/file.c
old new 1580 1580 } 1581 1581 } 1582 1582 } 1583 else1583 /* else 1584 1584 { 1585 1585 src_mode = umask (-1); 1586 1586 umask (src_mode); 1587 1587 src_mode = 0100666 & ~src_mode; 1588 1588 mc_chmod (dst_path, (src_mode & ctx->umask_kill)); 1589 } 1589 }*/ 1590 1590 mc_utime (dst_path, &utb); 1591 1591 } 1592 1592 }