From owner-freebsd-questions@freebsd.org Mon Mar 29 21:07:01 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B84DD5ABBCB for ; Mon, 29 Mar 2021 21:07:01 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4F8QBF0JKRz4hB0 for ; Mon, 29 Mar 2021 21:07:00 +0000 (UTC) (envelope-from kremels@kreme.com) Content-Type: text/plain; charset=us-ascii Subject: Re: how to hide dot files on ftp? From: "@lbutlr" In-Reply-To: Date: Mon, 29 Mar 2021 15:06:59 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <236372DA-D378-46BB-9944-7FDC4C71055B@kreme.com> References: To: FreeBSD X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4F8QBF0JKRz4hB0 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kremels@kreme.com designates 65.121.55.42 as permitted sender) smtp.mailfrom=kremels@kreme.com X-Spamd-Result: default: False [-0.34 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.121.55.42:from]; MISSING_MIME_VERSION(2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_NA(0.00)[kreme.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.121.55.42:from:127.0.2.255]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.94)[-0.938]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.112.0.0/12, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[65.121.55.42:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2021 21:07:01 -0000 > On 29 Mar 2021, at 13:13, Marwan Sultan wrote: >=20 > Dear FreeBSD family! >=20 > im on FreeBSD 12.2-R > i have noticed when i use ftp (the default ftpd freebsd build) - the = .dot files are not hidden! Is this new? I don't think this I new. I know I have certainly used FTP = to upload new htaccess files back when FTP was a thing, oh some 20 years = ago or so. > i managed to hide those files on the webserver from apache conf file. The default configuration of apache hides at least the ht files. Files ".ht*"> Require all denied I would not suggest you change that to ".*" > but i cannot find away to hide it from any ftp users. Seems like a bad idea to me, bit then again running ftp at all in 2021 = seems like a bad idea to me. > I donot want to install any ftp additional package and its no not FTP = server. Not sure what the means, but "I want to do but I don't want to = do anything that is necessary to do is a bad opening position." = It is quite possible the solution to what you want to do will require a = different ftp server, so you refusing to consider that is not going to = solve your problem. > anyone kindly may advise where/how to hide the dot files from ftp = user. (ftp user =3D real shell account) Nope. I have never done this nor would I ever do this nor can I think of = a scenario where I would want to do this, but I am probably missing = something. For example, if I don't want a user to much with some htacess settings, = I put those in a directory above the one the user has access to. --=20 Mind if I kiss the monkey? Ptttfft! Hairball!