`cp -Rp symlink-with-nohistory' fails...

Matthew Dillon dillon at apollo.backplane.com
Wed Sep 3 09:05:59 PDT 2008


::A) run `bmake install' twice, B) set nohistory flag on ${PREFIX}/*, or
::C) patch cp to special case the history flags rather than let it
::   unconditionally refuse to chflags() on a symlink.
::
::But: why does cp refuse to set file flags on a symlink in the first place?

    I think for now cp should probably refuse to chflags() a symlink but
    otherwise work the same and still generate a 0 exit code.

						-Matt





More information about the Bugs mailing list