From nobody Thu Oct 02 09:44:07 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ccn1g1T2zz69Smt for ; Thu, 02 Oct 2025 09:44:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ccn1g0lVxz3WR9 for ; Thu, 02 Oct 2025 09:44:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759398247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8toCjB4X6OARbEnoUUJxvaZyA2HLZ4ZMC86QTex8HRc=; b=eKVXqSxlaeMCyCYGa1BkTtamdD6nbVFNclrlfYLuK1Z0TDHRkD0FufDcJ30nB3TImVPZK4 tSNs8630D7Lhy98m8LXbzeBrhzjUFsibQ5wOs7uXBX0+qYipgabn0pj5X3WNvC+ESOavcY F7MS71i4u70nEWTAXQ9uHnxg5dTtuesF7a43G6+B01ZnCpa6bGW4mqzZF36fuFPOkXO7Cj yAumFAfbWF//nPw5dtrA85ACSqhMl4EAP/o/KKmyzhIDnB6mDI51iuwPsoY2l9/VG0yGYC GZle53yJNqLSUvnEE0ZPxUyH1Edypi4c+v26jHdIH/4Jvb694KGwXRdtmE3tPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759398247; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8toCjB4X6OARbEnoUUJxvaZyA2HLZ4ZMC86QTex8HRc=; b=RhT6iRlHUMXGGpulAT6t1tVaVgwMHOtLw1tmGnN4ITuNraYOvxKS3rWgJ8BVKCKbBRn7M3 v7WUnmpsm72+dZYRHy85RrarHP2klvIwWv2s1FAo67AnQNb0bBXsRaQqhqvGSnX3ipqK4E uhWpn4ZrrhY2dxdadvNlC4OAHBtEBKjWwqAuoALtToUaTdKMaQs51io23Zrfrx471cWqz4 udolpnPpDpWyemOhbV6qPoTAFDuAwhUvQJLxB/R2YYnjy94zhWP3FxgTH3vSOT/1Nb8X61 SsFbt0W2oPJ4a+EM//Mn7RJ+rihF3DgCVikeyaS2dDTSidpgLe/sYtSq8Um55A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759398247; a=rsa-sha256; cv=none; b=KGWRz6o56jHnaMPf5tb/P6p+hCUeyDUwZG4MRCCSd+bi6U15Pun8KFb5vteooRHuSWIruN sLtdLgoqsSP9JRHnVrC2RecQtnzuxeGM3izVs7FOdKe+gYNsMxwqpYwy15V5uv1b3VmKLc C07kjrCSiaFtAVShc6tTlzgQjM9LTBMbc19E3BLCNwhS8G18l/jF5VsBq2EAo7ETZZ/mvH VnkJ7KZxCcdZ+EpNULqRFah4ebowMnrpzSnvOQAeaZvkzY+SsFMRHyiq83mXfJlP75hzOd MKmJAolqo5TM6GG10Sb2DQBzzKLgzgmPrF8vrgn9qdGlyZnzgPjZriYKvDHx4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ccn1g0MJZz12KW for ; Thu, 02 Oct 2025 09:44:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5929i61p088439 for ; Thu, 2 Oct 2025 09:44:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5929i6en088438 for bugs@FreeBSD.org; Thu, 2 Oct 2025 09:44:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 289959] cp(1): Confusing instructions wether -P requires -R Date: Thu, 02 Oct 2025 09:44:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: majo-bugs.freebsd.org@cerny.sk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289959 Bug ID: 289959 Summary: cp(1): Confusing instructions wether -P requires -R Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: majo-bugs.freebsd.org@cerny.sk CC: doc@FreeBSD.org The manual page for cp command states: > -P No symbolic links are followed. This is the default if the -R opti= on is specified. and then later > The -H, -L and -P options are ignored unless the -R option is specified. However, it clearly works even without -R: touch /tmp/file ln -s /tmp/file /tmp/symlink cp -P /tmp/symlink /tmp/copy ... results in symlink /tmp/copy -> /tmp/file --=20 You are receiving this mail because: You are the assignee for the bug.=