DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 509FJ88j1188057 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 509FJ88j1188057 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=HkkPMfG1 X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 799D83858D34 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1736435946; bh=AB2JtyCPBazYFCfJbMyAOxH1xuX/c0p+u0F0jX5jbWU=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=HkkPMfG1qk4qmfPlocQcETaezBPXkyK2i0MC6DHm/eK5rWKnZPIX9zV+7QJ1cER5O JuTFHDb83bx6n/6m3RuL6H3/cfcZh2QEAp+3PL0mV+2ixNbkG58FfB/+V6UoHirKyT W/rH+UqQSEcI1vxy0J3/r4e9Rd8gEqedvEU9ZSTI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 30DA13858D1E ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 30DA13858D1E ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1736435920; cv=fail; b=Fd9C9bxDKNhyNZE7Yp+M+aYbauR+l85F7qPkf+8UlSpTBuvZceEvL2b35VvGeUwOOV1Yc4bjpPCuURYOYtqkvcTetZpdCSL20G8KDs7TR3aDp3lPVpm9iq249k0Zs1hz2T8KhVff7VXm6vUruHHiGCGiaVIQ2/ezqWzlfVdMpro= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1736435920; c=relaxed/simple; bh=1nmLLa74OTdFgQPrTwvFXn7UTDuV8uwKYWQlRsvu0B0=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=qQd2EPmShCqlSwZcoAyMSQ+deIdezPNfeOzviYMAXA5ihCZ0xGRO/7EjNR2EwF64VaqmWDik+QNrprWq/R4B2Wvdh9hMBNUUacrDAG7slBQIuPoLYb2EzeCk4Zq7jy0bh7sEpjAxbGuBNZ8dzKOCgfLz84cbgQjG2uw/rz9RyWw= ARC-Authentication-Results: i=2; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 30DA13858D1E X-Sender-Id: dreamhost|x-authsender|gisburn AT nrubsig DOT org ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1736435918; a=rsa-sha256; cv=none; b=I7zebQ+V6Dc6L61c1i52BWpuTO9mmo569DTD87Wctyjd92Qvxt3UjHrdI5WHW7HGJ+e618 jq2h8ouCzXLVcYcPBIxe3vridbXlShZl5zptJApPUFSXmFAQLAUz8/2IA/YprnTn8amM2l OWMP61hPa7nZf5s/U1NRQltjWxcxBXdN2nPKNmPZftHv3PEiH6QYnulXtz//r7J51N7jj2 D8GlTYKy+y53eDNKPKw2mcNJB7hjlM6nneJrFSxMsYTLmTAG64QmyZhXaMiu5l1T9+Shlq M9sIVzjeOrtbKQjFyjK6do1JK6jxDmdlkfprKmJhaqnRvA3D/zk64lBH9BKCMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1736435918; 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: in-reply-to:in-reply-to:references:references:dkim-signature; bh=QMVLXMILG7YeQAFvEoCkkfGojj6chH8TBz+fTKt5jKU=; b=Of1fByTdvIrq0+z0g7lm31w8zysC6sYiasyTv5ZkehGbJjbYUgDojDc+5WIklFN9wUdxA0 28SQ5hKYgGo5WqSbKl6fTiuVK/7ICm+K4u5nJxqhwYbIvPyZNs2JNqlXHzQtkyEivqErta t5y6O55CgqHn1oFmBEl0tzHTcl1a2rGHq9qe0RCyPsoOw3on/aIZcGU+m6tru4MrZyE17e f85d+C5lyP8+GGOfni3csXP4W7mu7LoSF5E8FuplmXXmAzNjNnivYHdZy+fXexjf7Zclvx GIG77cIg8eRM7bch7Usisz9moJZnsrj/SzpPXNddnf6ccmF0zTrseQxA0P00yw== ARC-Authentication-Results: i=1; rspamd-7df4dcbd86-mp48j; auth=pass smtp.auth=dreamhost smtp.mailfrom=roland DOT mainz AT nrubsig DOT org X-Sender-Id: dreamhost|x-authsender|gisburn AT nrubsig DOT org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|gisburn AT nrubsig DOT org X-MailChannels-Auth-Id: dreamhost X-Unite-Cold: 3ff95d77487c528b_1736435918999_4022974915 X-MC-Loop-Signature: 1736435918999:2372760650 X-MC-Ingress-Time: 1736435918999 X-Gm-Message-State: AOJu0YwaEHJpk2aJN9lpMybED2n/MROMCkG5pD0nOhAYxoVEM06PqYss uOycQMVWecAdbn3Kd2q1EyJUQ5CDF4+yi7VRQsX6pLYpqFggG++f/45bS9ncYEPmsWceS45DSpN tWTJz9VJImXD+AUEa2IhIepihuaI= X-Google-Smtp-Source: AGHT+IGn7YrbBN6sNNlGkGfKkK2af1TPmSW6hnO15RD0unOTjavu5gaOLnbFMoA/vR4a9cPcK1CvdVje2OZN3pS5Rf8= X-Received: by 2002:a5d:6d89:0:b0:38a:8ace:85e8 with SMTP id ffacd0b85a97d-38a8ace860fmr3794713f8f.44.1736435917118; Thu, 09 Jan 2025 07:18:37 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 9 Jan 2025 16:18:10 +0100 X-Gmail-Original-Message-ID: X-Gm-Features: AbW1kvaeqUcA7G5_sRbPgCuA5FwHPLucX2M07XGmDeYhORO1XeTedSYFrmmQguM Message-ID: Subject: Re: Using forwarded filesystems with Windows Remote Client (e.g. accessing //TSCLIENT/L via mstsc.exe) ? To: cygwin AT cygwin DOT com X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Roland Mainz via Cygwin Reply-To: Roland Mainz Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 509FJ88j1188057 On Wed, Jan 8, 2025 at 5:33 PM Roland Mainz wrote: > > Hi! > > ---- > > Does Cygwin 3.6 support filesystems which have been forwarded by the > Windows Remote Client (mstsc.exe) ? > > I tried to access such a forwarded dir, but $ ls -l # returned this: > ---- snip ---- > $ bash -c 'cd //TSCLIENT/L && ls -l' > ls: cannot read symbolic link 'newtestmachine_dir2': Invalid argument > ls: cannot read symbolic link 'winserver2019_admindir2': Invalid argument > total 665207504417527 > ?--xr--r-x 0 Unix_User+2 Unix_Group+1252 > 8589934592 Jan 1 1970 builds > ?--xr--r-x 65535 Unix_User+0 Unix_Group+6539296 > 8589934592 Jan 1 1970 download > ?--xr--r-x 65535 Unix_User+0 Unix_Group+6539296 > 8589934592 Jan 1 1970 gitbundles > ?--xr--r-x 65535 Unix_User+0 Unix_Group+6539296 > 8589934592 Jan 1 1970 newtestmachine1 > l-----xr-x 13 Unix_User+6539088 Unix_Group+6539672 > 4294967295 Jan 1 1970 newtestmachine_dir2 > ?-ws-wS--t 65535 Unix_User+0 Unix_Group+6539296 > 4294967296000 Jan 1 1970 newtestmachine_dir3 > ?--xr--r-x 65535 Unix_User+0 Unix_Group+6539296 > 8589934592 Jan 1 1970 rde > ?--xr--r-x 65535 Unix_User+0 Unix_Group+6539296 > 8589934592 Jan 1 1970 rde.zip > ?-ws-wS--t 65535 Unix_User+0 Unix_Group+6539296 > 4294967296000 Mar 17 1970 te_install > l-----x-wx 11 Unix_User+6539088 Unix_Group+6539672 > 4294967295 Jan 1 1970 winserver2019_admindir2 > ---- snip ---- > > Any idea what is going wrong in this case ? Short update: On the machine which got the forwarded filesystems I get this: ---- snip ---- $ nfs_ea '\??\UNC\TSCLIENT\T\test1' getnfs3attr Querying extended attribute 'NfsV3Attributes' on file '\??\UNC\TSCLIENT\T\test1': ZwQueryEaFile('"') failed with 0xc0000002 ---- snip ---- 0xC0000002 == STATUS_NOT_IMPLEMENTED The Windows NFSv3 and NFSv4.1/NFSv.2 drivers implement support for "NfsV3Attributes", so it seems filesystem forwarding in RDP does not support EAs (=extended attributes). Powershell itself can handle files&&cd etc., it seems only applications which rely on "NfsV3Attributes" are affected... ... maybe in Cygwin there are places where the return code for |nfs_fetch_fattr3()| isn't checked ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland DOT mainz AT nrubsig DOT org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) -- 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