X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 AT yandex DOT ru 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 Date: Sat, 22 Aug 2020 20:13:30 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <1966120321.20200822201330@yandex.ru> To: C Goh , cygwin AT cygwin DOT com Subject: Re: In-Reply-To: References: MIME-Version: 1.0 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 AT cygwin DOT 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: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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... -- 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