Hello,

"cp -p" seems to not preserve the modification time of symlinks.  This is not 
mentioned in the man page.  Other systems I tested (others BSDs and Linux) do 
preserve the mtime of symlinks with e.g. "cp -a".  The OpenBSD kernel also does 
support to set it with e.g. utimensat(2).

Is this intented?  If not--is it an known issue?

How to reproduce:

ln -s foo bar

... wait some time ...

cp -p bar blah

-> bar and blah have different mtimes.

Carsten

Reply via email to