Re: cp -p : timestamp NOT preserved (coreutils 6.9, Linux)
From:
Bob Proulx
Subject:
Re: cp -p : timestamp NOT preserved (coreutils 6.9, Linux)
Date:
Wed, 31 Oct 2007 10:49:52 -0600
User-agent:
Mutt/1.5.13 (2006-08-11)
Graf, Peter wrote:
> prompt% cp -p ~/.cshrc ~/tmp/.cshrc
> prompt% ls -l ~/.cshrc ~/tmp/.cshrc
> -rwxr-x--- 1 pg mygroup 2180 Jan 19 2007 /home/pg/.cshrc
> -rwxr-x--- 1 pg mygroup 2180 Oct 31 14:46 /home/pg/tmp/.cshrc
> Timestamp was NOT preserved.
Thank you for your report. Can you provide this additional
information? Please run strace on the program and report back the
system call information from the trace.
strace -o cp.strace.out cp -p file1 file2
Thanks,
Bob