public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* (no subject)
@ 2020-08-22 17:03 C Goh
  2020-08-22 17:13 ` Andrey Repin
  0 siblings, 1 reply; 3+ messages in thread
From: C Goh @ 2020-08-22 17:03 UTC (permalink / raw)
  To: cygwin

 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?

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

Hi

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re:
  2020-08-22 17:03 C Goh
@ 2020-08-22 17:13 ` Andrey Repin
  2020-08-23  3:05   ` Re: C Goh
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Repin @ 2020-08-22 17:13 UTC (permalink / raw)
  To: C Goh, 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...


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re:
  2020-08-22 17:13 ` Andrey Repin
@ 2020-08-23  3:05   ` C Goh
  0 siblings, 0 replies; 3+ messages in thread
From: C Goh @ 2020-08-23  3:05 UTC (permalink / raw)
  To: cygwin

hi


If i didnt ssh-copy-id , i can access the share folder

On Sun, 23 Aug 2020 at 01:20, Andrey Repin <anrdaemon@yandex.ru> 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...
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-08-23  3:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-22 17:03 C Goh
2020-08-22 17:13 ` Andrey Repin
2020-08-23  3:05   ` Re: C Goh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).