git: 6be7ead2acad - stable/13 - pam.d: install hard link with same mode as target

From: Ed Maste <>
Date: Thu, 23 Mar 2023 15:10:29 UTC
The branch stable/13 has been updated by emaste:


commit 6be7ead2acada0a4f89e242cda52934a6cb62cba
Author:     Ed Maste <>
AuthorDate: 2022-11-23 15:34:58 +0000
Commit:     Ed Maste <>
CommitDate: 2023-03-23 14:33:01 +0000

    pam.d: install hard link with same mode as target
    Previously when using NO_ROOT we recorded a METALOG entry for the
    pam.d/ftp hard link with a different file mode than the link target
    pam.d/ftpd, which is not permitted.
    This change is similar to 1dbb9994d4dd for .profile
    Sponsored by:   The FreeBSD Foundation
    (cherry picked from commit f2865d7d550161bf4058425a6677a839c065bde4)
 lib/libpam/pam.d/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/libpam/pam.d/Makefile b/lib/libpam/pam.d/Makefile
index 1499f916cb17..2b3f89a39717 100644
--- a/lib/libpam/pam.d/Makefile
+++ b/lib/libpam/pam.d/Makefile
@@ -30,6 +30,7 @@ CONFGROUPS+=	FTP
 FTP+=	ftpd