Feature #667

cp support for -a flag

Added by Andrew Stormont about 8 years ago. Updated almost 6 years ago.

Status:ResolvedStart date:2011-01-26
Priority:NormalDue date:
Assignee:Alexander Eremin% Done:


Category:cmd - userland programs
Target version:-
Difficulty:Bite-size Tags:


Lots of time could be saved hacking scripts if support for this flag was implemented, even if it is just ignored.


#1 Updated by Roland Mainz about 8 years ago

Does the following workaround work for you ?
1. Use /usr/bin/sh or /usr/bin/ksh
2. Use in a script "builtin cp" at the top of the script and call '"cp" without full path, e.g. "cp" ?

#2 Updated by Garrett D'Amore about 8 years ago

This is a trivial RFE except for one problem... -a implies --preserve=links. Of course, we don't have the support for link preservation in illumos cp.

#3 Updated by Alexander Eremin almost 6 years ago

  • Tags set to needs-triage
  • Difficulty set to Medium
  • Subject changed from cp support for -a flag. to cp support for -a flag

#4 Updated by Rich Lowe almost 6 years ago

  • Tags deleted (needs-triage)
  • Difficulty changed from Medium to Bite-size
  • % Done changed from 0 to 100
  • Assignee set to Alexander Eremin
  • Status changed from New to Resolved
  • Category set to cmd - userland programs

Resolved in 9e647765

Also available in: Atom