From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9026 invoked by alias); 6 Sep 2016 14:11:29 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 8874 invoked by uid 89); 6 Sep 2016 14:11:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.8 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=alle, HX-HELO:sk:mail-lf, cygdrive, Corporation X-HELO: mail-lf0-f42.google.com Received: from mail-lf0-f42.google.com (HELO mail-lf0-f42.google.com) (209.85.215.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 06 Sep 2016 14:11:27 +0000 Received: by mail-lf0-f42.google.com with SMTP id h127so43959118lfh.0 for ; Tue, 06 Sep 2016 07:11:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=6Mz9gii+7xSFVgNTcKjj0jEdAZHlid5Aqz4YiBJRRpE=; b=cUZG1z3sVtvvb5c+lA057ULQQRaRuvBGGKrCr+9RQ/MXn7IcAQixXXyaQPQb9isHav XRtZxiRFHu7RJUYK7h9qjH3waVdRMKtXNYqe5ko+d36fcELIcnnd9nUSlwAcbVUuQHWv 6QzismmBBnN4BksP6EeQRJu+NbuLuvUVf3JVFKXKdv07lh5ugS+z1MfkDZKyIlAjNIuC dg6I03TxHQhGTuUm/HgIdFdKDRLq6DtjkZv5Igb4vEc1O8B7U0uWCBYcd99aye3tLOl+ YHZdE/N23HGqV99Ot/aJqLkwjZ+c90ad/hPjJBAzUz/d7dH1j4x5eBjj0NBgdCv6G8Dd 8NNA== X-Gm-Message-State: AE9vXwO9+m/q+S4aXnybByKqzwRY5XBlPfoQca2Z6ThY2z08KzJ4nRo9LRfxdHo3uKq4aI2mA2YJy7ny/0h0MQ== X-Received: by 10.25.20.170 with SMTP id 42mr5208941lfu.194.1473171084318; Tue, 06 Sep 2016 07:11:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.134.133 with HTTP; Tue, 6 Sep 2016 07:11:03 -0700 (PDT) From: =?UTF-8?Q?Morten_Kj=C3=A6rulff?= Date: Tue, 06 Sep 2016 14:11:00 -0000 Message-ID: Subject: permisions: cat from bash vs type from cmd To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg00092.txt.bz2 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=C3=A6gtet. 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=3D0,noumount,auto) D: on /cygdrive/d type ntfs (binary,noacl,posix=3D0,noumount,auto) H: on /cygdrive/h type ntfs (binary,noacl,posix=3D0,noumount,auto) O: on /cygdrive/o type ntfs (binary,noacl,posix=3D0,noumount,auto) P: on /cygdrive/p type ntfs (binary,noacl,posix=3D0,noumount,auto) S: on /cygdrive/s type ntfs (binary,noacl,posix=3D0,noumount,auto) X: on /cygdrive/x type ntfs (binary,noacl,posix=3D0,noumount,auto) morten@mortenpc ~ $ "Adgang n=C3=A6gtet." 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