cvs commit: src/bin/cp utils.c

YONETANI Tomokazu y0netan1 at
Thu Sep 4 20:18:24 PDT 2008

y0netan1    2008/09/04 20:16:55 PDT

DragonFly src repository

  Modified files:
    bin/cp               utils.c 
  Don't fail if the file flags of source and copied symlinks don't match.
  Although there's no lchflags(), symlinks inherit file flags of their
  parent directory(for history retention flags), so file flags may be set
  on symlinks.  chflags(1) on a symlink doesn't do anything nor does it
  return an error code, so the new behavior is more consistent with
  Symlinks don't inherit file flags on previous versions of DragonFly
  or on FreeBSD, so this code has never had a chance to return ENOSYS.
  Suggested-By: Matt
  Revision  Changes    Path
  1.12      +1 -1      src/bin/cp/utils.c

More information about the Commits mailing list