diff --git a/src/uu/cp/src/cp.rs b/src/uu/cp/src/cp.rs index 9fbc727dd..39823ea45 100644 --- a/src/uu/cp/src/cp.rs +++ b/src/uu/cp/src/cp.rs @@ -745,7 +745,12 @@ impl Options { attributes.push(Attribute::from_str(attribute_str)?); } } - attributes + // `--preserve` case, use the defaults + if attributes.is_empty() { + DEFAULT_ATTRIBUTES.to_vec() + } else { + attributes + } } } } else if matches.get_flag(options::ARCHIVE) {