From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [37.140.190.179]) by sourceware.org (Postfix) with ESMTPS id 2DAC73858D37 for ; Sat, 22 Aug 2020 17:20:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2DAC73858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=anrdaemon@yandex.ru Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 4034594082E; Sat, 22 Aug 2020 20:20:01 +0300 (MSK) Received: from mxback8q.mail.yandex.net (mxback8q.mail.yandex.net [IPv6:2a02:6b8:c0e:42:0:640:b38f:32ec]) by forward103q.mail.yandex.net (Yandex) with ESMTP id 3B08A61E0005; Sat, 22 Aug 2020 20:20:01 +0300 (MSK) Received: from vla3-3dd1bd6927b2.qloud-c.yandex.net (vla3-3dd1bd6927b2.qloud-c.yandex.net [2a02:6b8:c15:350f:0:640:3dd1:bd69]) by mxback8q.mail.yandex.net (mxback/Yandex) with ESMTP id Hl3Mqj65ln-K17mqq5a; Sat, 22 Aug 2020 20:20:01 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1598116801; bh=7AhuoHVm8dakX5aczu+u3h9S5HRSnQmUPwg5c5GEQEU=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=vD5+0JqKGsJ3F34HGyRJr9tn3cg8/4cWY62Obhu4qmES6qb6GdbUSXN5qEhykUS/x 9ph+J41I6htCIIGEkRvC8UB3g2OOzRmtw1jwzf2xu5xOfo01VQywUMVEzATTdEhlr6 BNqubBiY68dMWTGXFJiU4X9Ic4TdK70HtvTAYEEs= Authentication-Results: mxback8q.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla3-3dd1bd6927b2.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id eunbDryhTg-K0me6kU2; Sat, 22 Aug 2020 20:20:00 +0300 (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (Client certificate not present) Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Sat, 22 Aug 2020 17:13:30 -0000 Date: Sat, 22 Aug 2020 20:13:30 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home Reply-To: cygwin@cygwin.com X-Priority: 3 (Normal) Message-ID: <1966120321.20200822201330@yandex.ru> To: C Goh , cygwin@cygwin.com Subject: Re: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Aug 2020 17:20:08 -0000 Greetings, C Goh! > have some issue using cygwin to access the network drive. I have three > VM(A, B, C). Environment: VM A(11.11.11.1) is used as NAS and I also > created a share folder inside VM A. I Installed cygwin on window VM > B(11.11.11.2) and map a network drive(the share folder) from VM A. I used > another Linux VM C to SSH access to VM B successfully but I cant access the > network drive even I use net use command. > --------Error msg:----------- > $ net use z: \\11.11.11.1\share password /user:admin System error 5 has > occurred. > Access is denied. --------end of error msg--------------- > Q1) How do I solve the above access denied issue? Not a Cygwin issue. > Q2) How do I configure VM B such a way that I can ssh to VM B to access > network drive without specifiying the net use command Not a Cygwin issue. > I tried to use another method share folder and use mklink also not working > lrwxrwxrwx 1 Administrators NODE1+None 18 Aug 22 07:25 share -> // > 10.10.10.1/share > lrwxrwxrwx 1 Administrators Domain Users 18 Aug 22 08:02 share1 -> // > 10.10.10.1/share > I tried to access share or share1. I got permission denied Cygwin is a userspace compatibility layer. If your underlying OS is unable to access network shares, Cygwin can't help you either. -- With best regards, Andrey Repin Saturday, August 22, 2020 20:12:17 Sorry for my terrible english...