X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1AECE38582B5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1707332524; bh=k16CH+7On3UaIS/6ZhGr8GX9asBKjzmz7vYGLZR+MF0=; h=Date:To:In-Reply-To:References:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=jJfknbqxVvAx9PSaWQIndNywaO30OXvXYORLCXiSIYPFGLtYCCvgg6+I6lLfVRU3w /quO1dT/nYEZQLvOLY0/z1ETbIHzZViN39RhwNQ5tQl7M0ulFPUpxk2X/Z6r22cUrQ oTg4rGSqAiZLOtEnc0lr8nFAbo5rZVfN0jtp6rQg= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 48F043858C29 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 48F043858C29 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707332499; cv=none; b=AK9QxFoYEsavs/N9KGTZ6TsB/x+DcOcJ2SlXubRlHGVwbVnSVwp0kPt4pmz1zgA/FevorugWLxbsxRU73Mzc7+ZZCe/UDl7tgbk1l88bVVMck/4ZaiYZDZL2PwdjQLjJhKJQ29i4kpRyN+KOQ2OVsFS6MsVCHNPUDn3uOWoBjvE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707332499; c=relaxed/simple; bh=+x3+T/3gJqFStHbJEAhTVsMuaqaYGv2z0bZWs1MhbMM=; h=DKIM-Signature:Date:From:To:Message-ID:Subject:MIME-Version; b=LEzs1tUozlpBhwYGqPDvxMUlVvJkNGBMdZ4vEzEIWluotJO+epI2H+peTVRptvYowVRguCH09cCcLihHsK1UdR2IwAGH3fIvyeSjWNkz66zNgi1+Hz+CblqNkkUzU9FF8BbdKIzxRQ/gH6D2B3VjnTxCxwRIRegzkO7QqKu4gXc= ARC-Authentication-Results: i=1; server2.sourceware.org X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1707332496; bh=EUE5wIGCfUCl7lTrsisrmhHqiu7rshOpXX7gu5546YS=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=jHGAxf0mibDHK8+GYnkLAiGTlKLVQGNW4anI3H69zQTKu+VtH1sJxC0FmyX3urMKZvyEV9BivdGBlGHSE8zXJDxDdYmO4g01TjI0ZNbiZ1Y2cRgemBURlverxXApHTtNXLWRm06O/xK7dcnnkFbcSRtkccusTaRfFq5nichNlnuB6aF6OKGAWy0/y5ogzyOXuHarE+2VzdiBxt+Z2DIi4arzMpV0PFSqb82iKCyxS3YlwIFJVeGNNmfLTGJJ/xldmvIu872kAdL+oYpI4nGkQkRrCH2jKmowA86YGnVgB1LclmcpdPGrYbjDA1wIAxX6dWI98hJVarKjY08b2IAeAw== X-YMail-OSG: AisXaVsVM1lUIpgq1TGagwVBpCYULbdYUboJUdqC6gaT6hc5jzkyFY_e9YTGq.v xUtCR52JQoLmemRqAr4V7drcLIDrKIac9ikUD9KFzNkzhmcjEglGDTUQnJIvDdq9VoAuy81Klf.f 7xfmuieBG5wunTo09asmC3IjBKwhOqaGsQ_p57uXz9503DAXms1pAkVFRfmbusJ1dGxv31xi9KFj 6oTiG5PZG.VvygxMZ47McpsJhGYRGw.zjEbP0oGT7PEQwdic1eMFrSG1uZREEj8nrPVUC6Cea6Kx eNuLLw1eEJ7yOho2P9isYMejwVvw9hCdSPo32F.WHRa.sxivjD5ABAveSxqQVV7pScvkc8mDaxpF m2xf4R5M9nTC8.M6LXB5xaNDq6iYiA.G8bgYFp0rpMPMv7hvFzh7318BeQioXHNxWd6TuIjvFd8G 0B1st_F.F1FUK7SXPJ2_B8EkJ0FHF7emkzvKAHCPz9S.0UYMDIXI4v1MZ2sig8pWC._HG7xUWW0Y 4WSsu_ta0AsX7i4hQ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mMK800qqqol4Q9uL.dG8iqNnoW2Go03l6fkJl4tEbBrKvjJbv8Cw. XBnBdbTE9cv62JR0duAn4oxlPyMLcYfNm8tFCfc8dm8N3EWDTZv2QXr8mBPcaaJSczskOMzsCEjY lcHkpq_vJc1vOD6X.5AO6qRmSPoO5lJdS1HCIO2ZKtmpPBAWxuamA3YiMDwwCWdIwIpkg..tFO_S H3BxYyFvuDdtv3R07bAvM.Qq_OYh4SZrcgd6jM2TTbkZdhidGj4E0kTexIh9BilUpAL7vZGrez66 JZ.7KEG2e9ZoGe7wVEs7KQVLRb1j6B1YdcBaZzq4KS8xGcdGJsXA_PsjogOwgWtJ.bNeBdsWQqXa LhiLdGgayMWXZXeLPOOQrI1OntnK1WIkPSA.rEIQ1MP2KBfrBu8HTSQM9b32V6Dlltcff51_QMaG VcGtvaFdX6dC3hItEuSJ6ldkavc5I31PwiC6L7JKN8Dn6e0nWuGinuwB0dH19poRbm.9I7PZZ4vd iISKDUC8CUMLXjhOi1oMsFQjSXQXariIcFshoUqSgm5qCAfpnM.MgKAoPVU5HWmysatYwcZbh2ce 8xtX51iAMCARiyYQrBDX.zXS5DSKmNrYTe_sDq76nU.FXvzo3AEaYMd4i.9QOxkGObKQRmXxtynv EmAtIC_utQXK_LkNnDrWML1ZIPVlyHJXs X-Sonic-MF: X-Sonic-ID: 568a4879-238f-487f-bd41-79178450d3f7 Date: Wed, 7 Feb 2024 19:01:33 +0000 (UTC) To: "cygwin AT cygwin DOT com" , Frank-Ulrich Sommer Message-ID: <1587827336.3670099.1707332493600@mail.yahoo.com> In-Reply-To: <14be4d61-0c8b-412d-9afe-c60f2e4b3b42@gmx.net> References: <439a4aeb-e8f8-42c7-6c35-c303a9366368 AT cs DOT umass DOT edu> <14be4d61-0c8b-412d-9afe-c60f2e4b3b42 AT gmx DOT net> Subject: Re: cygsshd fails due to bad ownership or modes of /cygdrive/c/Users MIME-Version: 1.0 X-Mailer: WebService/1.1.22046 YMailNorrin X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: matthew patton via Cygwin Reply-To: matthew patton Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 417J25lX001065 > The problem seems to be that OpenSSH does not even arrive at checking the home diretory> or the .ssh directory. It starts checking every directory in the path and fails already at "/cygdrive/c/Users" I don't think we can win an argument with Theo over how misguided and unnecessary meddling the OpenSSH code is being. Ownership that diverges from 0 (or 2, or 18) should be a mere WARNING, not an ERROR until validity checks get to the user's actual $HOME and/or  the authorized_keys directory+file.  /home in cygwin is just [OS drive]/cygwin64/home so that doesn't fix anything. I personally set the Cygwin FSTAB to C:/Users /home  none    binary  0 0 Unfortunately I think we need an #IFDEF on safe_path() to force it back into it's lane.Anyone want to tangle with Theo? -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple