From nobody Tue Jun 28 13:25:29 2022 X-Original-To: dev-commits-src-all@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 6B47F872F1D; Tue, 28 Jun 2022 13:25:30 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LXQMG1f3Qz3w0q; Tue, 28 Jun 2022 13:25:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656422730; 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=WA7zljwqC0SZb4Bk49SVpOXV2qPf2Vx7r/ZNGXZXdZ0=; b=Vh+lNu9YWjERFh3/ssrjWjrDLF5nu4IyJZJWnGmrIPIIgF+tOSQh/2ik3ytAFXq/gq6Se8 v9W6WJvVY4sRjNwSijblSUrYICk1I40475l16ffHGXQWH/OxD0r9uvmgwvN3X2qLdjVBaj spsR465jyiuuBlc9ETG9MdH/kzkmwaAqY/TYPiKGbY8rJpM4Lx2JcUzZTQ0Hjrd4wScCkX rXkEnrOtqQxu7rx+1jbi+/su45cC3eXWqR0zRJqjAVqgxQb/RBR0DSBelBScZ0ieZbJBOD NYgAPdpBIh0P08QHMM9BAKnH0guUOEIVO2QmpPbIBg6YVY9UZ9ZrafDQkHSHFQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 0B1681D853; Tue, 28 Jun 2022 13:25:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25SDPT1W077220; Tue, 28 Jun 2022 13:25:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25SDPTLQ077219; Tue, 28 Jun 2022 13:25:29 GMT (envelope-from git) Date: Tue, 28 Jun 2022 13:25:29 GMT Message-Id: <202206281325.25SDPTLQ077219@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: bad2f716f4d3 - main - ftp: Use /var/spool/ftp as ftp's home consistently List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bad2f716f4d3453fb9156b603cfaca44ea30fa31 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656422730; 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=WA7zljwqC0SZb4Bk49SVpOXV2qPf2Vx7r/ZNGXZXdZ0=; b=mJxHuGhvT1H2HxEPLJf1xtGTApkAjWprdHVA8+F5PgHhblQ76QW4NiaXbQoClHgyaWyXY0 usPONF3rs0xvIQtiWMTqyD+jVg4+eipMqP6my2CKPhNain0k3VK0PHoKA+Pg9n+x/YCffs 316YjmuSwPjK4QtgcsFFddGFa0/vZjd1/54y+cQK8usppRM3c5T5ZW5MMGVwkFm5/Q+xQ7 BAL02SDz+3U8JQvnDnN12+mxF1E/BpTrn+NRRNPeMCcUGSUcfa41PD9PhPVxDY5VYo7Zwy yVQvTnpPpWskjH2DOTtJ4HFDGCW0CyfwIjMHKBusU87LoamkOU7xf9cSZCVkbA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656422730; a=rsa-sha256; cv=none; b=vO5ZYsxySJF57LvF+5UTOcupx+cuy/rKvGBed6BlhcVywx0tgsFxWtCW+KwAHykn/49y3Y Sqpfmbm3oV5vwHWAlOQ+/PNStsmIUVX9HjsU/45nAtkoKK/8bMRErEkRL5KijDr+VkSAPG N/jz9qqXr1tuI7S+5fqHKWETRF6kbSZ8ejh8p3TSJzupGAeGizAiANO+bh5ViMsDQ+GYi/ 55MDfoWHuTp2eZeJdhzegWOfcHByYKYJKLsmlzjhuQ2v5wIknTkzQHZa4XoTCqWRi6zJGm b4DmwTKDW08rzQ+jLYVgk+C8V98Zhhr5UYioCaPrQWav8N2tkhvjWwqvae4mtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=bad2f716f4d3453fb9156b603cfaca44ea30fa31 commit bad2f716f4d3453fb9156b603cfaca44ea30fa31 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2022-06-28 13:13:39 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2022-06-28 13:20:05 +0000 ftp: Use /var/spool/ftp as ftp's home consistently The home directory of the ftp user is /var/spool/ftp according to hier(7). Update the manual page of ftpd(8) to reflect that. MFC after: 2 weeks --- libexec/ftpd/ftpd.8 | 7 +++++-- share/man/man7/hier.7 | 4 +++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/libexec/ftpd/ftpd.8 b/libexec/ftpd/ftpd.8 index 0cd62899189c..868acac61699 100644 --- a/libexec/ftpd/ftpd.8 +++ b/libexec/ftpd/ftpd.8 @@ -28,7 +28,7 @@ .\" @(#)ftpd.8 8.2 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd January 21, 2010 +.Dd June 28, 2022 .Dt FTPD 8 .Os .Sh NAME @@ -436,7 +436,7 @@ uses its left-hand side as the name of the directory to do .Xr chroot 2 to, and its right-hand side to change the current directory to afterwards. A typical example for this case would be -.Pa /usr/local/ftp/./pub . +.Pa /var/spool/ftp/./pub . In order that system security is not breached, it is recommended that the .Dq ftp @@ -555,6 +555,9 @@ Displayed and access refused. Log file for anonymous transfers. .It Pa /var/log/xferlog Default place for session logs. +.It Pa /var/spool/ftp +Recommended directory for the FTP root directory +(the home directory of the ftp user). .El .Sh SEE ALSO .Xr ftp 1 , diff --git a/share/man/man7/hier.7 b/share/man/man7/hier.7 index 93a7a86ec761..0696033878ff 100644 --- a/share/man/man7/hier.7 +++ b/share/man/man7/hier.7 @@ -893,7 +893,9 @@ undelivered submission mail queue; see .Xr sendmail 8 .It Pa ftp/ -commonly ~ftp; the anonymous ftp root directory +ftp root directory; +see +.Xr ftpd 8 .It Pa mqueue/ undelivered mail queue; see