From: "Morten Kjærulff" <mortenkjarulff@gmail.com>
To: cygwin@cygwin.com
Subject: permisions: cat from bash vs type from cmd
Date: Tue, 06 Sep 2016 14:11:00 -0000 [thread overview]
Message-ID: <CA+7cx1qdpvxOtemqyMFNdTZMZY4X8b7xLWeGsMRe-winOH=YhA@mail.gmail.com> (raw)
Hi,
I am sure there is a fine explanation for what I see here, but what do
I need to read to understand, or what is the explanation.
My friend is trying to protect his .netrc on his virtual server, which
works when I uses native windows commands, but I can see his file when
I uses cygwin? I am running on my own PC and we are on the same
domain.
morten@mortenpc ~
$ cat //virtualserver/d$/mhome/.netrc
machine computerxxx login userxxx password passxxx
morten@mortenpc ~
$ cmd
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle rettigheder forbeholdes.
D:\mhome>type \\virtualserver\d$\mhome\.netrc
Adgang nægtet.
D:\mhome>exit
morten@mortenpc ~
$ mount
D:/cygwin/bin on /usr/bin type ntfs (binary,noacl)
D:/cygwin/lib on /usr/lib type ntfs (binary,noacl)
D:/cygwin on / type ntfs (binary,auto)
D:/mhome on /home/morten type ntfs (binary,noacl)
C: on /cygdrive/c type ntfs (binary,noacl,posix=0,noumount,auto)
D: on /cygdrive/d type ntfs (binary,noacl,posix=0,noumount,auto)
H: on /cygdrive/h type ntfs (binary,noacl,posix=0,noumount,auto)
O: on /cygdrive/o type ntfs (binary,noacl,posix=0,noumount,auto)
P: on /cygdrive/p type ntfs (binary,noacl,posix=0,noumount,auto)
S: on /cygdrive/s type ntfs (binary,noacl,posix=0,noumount,auto)
X: on /cygdrive/x type ntfs (binary,noacl,posix=0,noumount,auto)
morten@mortenpc ~
$
"Adgang nægtet." means access denied.
/Morten
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next reply other threads:[~2016-09-06 14:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-06 14:11 Morten Kjærulff [this message]
2016-09-06 18:50 ` Andrey Repin
2016-09-07 11:05 ` Andrey Repin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CA+7cx1qdpvxOtemqyMFNdTZMZY4X8b7xLWeGsMRe-winOH=YhA@mail.gmail.com' \
--to=mortenkjarulff@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).