public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cannot access network drive or shares
@ 2020-08-24  4:50 C Goh
  2020-08-24  9:55 ` Thomas Wolff
  0 siblings, 1 reply; 2+ messages in thread
From: C Goh @ 2020-08-24  4:50 UTC (permalink / raw)
  To: cygwin

Method 1: Map drive

I 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

Method 2: network Share folder

I tried to 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

Without ssh-copy-id, I can ssh in and access the share folder

The moment i ssh-copy-id, I tried to access share or share1. I got
permission denied

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

* Re: Cannot access network drive or shares
  2020-08-24  4:50 Cannot access network drive or shares C Goh
@ 2020-08-24  9:55 ` Thomas Wolff
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Wolff @ 2020-08-24  9:55 UTC (permalink / raw)
  To: cygwin

Am 24.08.2020 um 06:50 schrieb C Goh via Cygwin:
> Method 1: Map drive
>
> I 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.
If you run this from a cygwin shell, do you use single quotes to escape 
the backslashes? ('\\11..')
>
> 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
>
> Method 2: network Share folder
>
> I tried to 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
>
> Without ssh-copy-id, I can ssh in and access the share folder
>
> The moment i ssh-copy-id, I tried to access share or share1. I got
> permission denied
> --
> 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


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

end of thread, other threads:[~2020-08-24  9:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-24  4:50 Cannot access network drive or shares C Goh
2020-08-24  9:55 ` Thomas Wolff

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).