Hi all, I found a very strange problem with cp. Normally, cp -rv files > log should list all the files copied in the file 'log'. However, when cp -rv a directory under file system mounted via FUSE, redirect of I/O doesn't work. The verbose output is gone and the log file contains nothing. Also, if I try to read the verbose output of cp command with another program via pipe, it works with local file systems, but not with remote file systems mounted via FUSE, such as sshfs and curlftpfs. However, if I use forkpty in the program, it seems to partially work. Shouldn't --verbose always give output whether the stdout is a tty or not?
p.s. I redirect the verbose output to pipe read by another program to show the progress of copying, then I found this really strange bug. Thank you _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils