From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qt1-x831.google.com (mail-qt1-x831.google.com [IPv6:2607:f8b0:4864:20::831]) by sourceware.org (Postfix) with ESMTPS id 42C733858D35 for ; Sun, 23 Aug 2020 03:05:55 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 42C733858D35 Received: by mail-qt1-x831.google.com with SMTP id t23so4019090qto.3 for ; Sat, 22 Aug 2020 20:05:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=S7T584/5/E1zTIARq5MeU+2gdv4TQ9KbvC8p2KX8W1E=; b=I3aUaM+E93Q0hwfJ3gQTTIm02iNyJqnR6dUFhHN0eWXmJOLcOWdssB7zt327lrkzoy B32/Od8eFsGaIKmdfghXozGM8x/NTS85DkdqDVkq0NsRmJjLnd0CG8ZP7o9IiIAPetsL ChyuCzoG/3PlkpYYFIj6XbDV//D81RhfZnVZpzF6mSuc1p3IPeH09Y8XijjvGinZETAs 7kLZZPTLIQ3sXwoiZCdK4soGTRsOLISYtttv9/7U2TF55dx/Z95TCws6Q2LectvbSw5v n7fQdLIR8KhmEiPZM28i8FZX9/JV0XV4mYnIRHU1w24dWynea1M6Mba6NW/yipzpMJdU ugog== X-Gm-Message-State: AOAM533opj1MgAO5O0k4ZTEKaBt4OZDtpuub3Ybj6lOrM5zrPmX0m52q AjmDNbW0XdU1MYfk7ecaWhNtlgK4QgG2e1Yelzin3gz3DRw= X-Google-Smtp-Source: ABdhPJzqeBd7TIoU9uSziuV4JKnRxDFfweMuRCDNpd5nVC7eL+sU0eDUiknMar9/gouY0+4hgIlWuDdCCw4dwHtJzA8= X-Received: by 2002:ac8:7c96:: with SMTP id y22mr153775qtv.70.1598151954148; Sat, 22 Aug 2020 20:05:54 -0700 (PDT) MIME-Version: 1.0 References: <1966120321.20200822201330@yandex.ru> In-Reply-To: <1966120321.20200822201330@yandex.ru> From: C Goh Date: Sun, 23 Aug 2020 11:05:42 +0800 Message-ID: Subject: Re: To: cygwin@cygwin.com X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, NUMERIC_HTTP_ADDR, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sun, 23 Aug 2020 03:05:56 -0000 hi If i didnt ssh-copy-id , i can access the share folder On Sun, 23 Aug 2020 at 01:20, Andrey Repin wrote: > 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... > >