delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/15/05:15:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=rzgdVAR+8vXzuBmg33hVC1pgt8n2a1Pu5H4W2nztaAFIg4caA/y8Z
PmJtYHPvp1iib9uKBZnsOh2ysQUk3XU0JgZIQ7z7SrqH59vOqu3Ho832mJzF76Hw
pLVYhVDoji1bWoQQDPQY9/hAmd4/bYgFZsemCBKkrYzsQrHZ+gPaIc=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=zWC2RPIIi3zQZzENLBYdJ0zn6ZA=; b=l9QdgCi6XeHVJZSolwRPELUXJwws
ncmTRg+Dxa9faps/Szxulbcdhx0d9PLBY+9pIuV0NkFtx0SElD8UKwYw23eg5EPs
OrRO2RcAHWqi/JfTQbyx8zHHeNQ+Zu6sQIB1IEGo+gwLU3OPy6P08T7ihhj1dAT8
sOcsTGSQq3iDrTU=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.0 required=5.0 tests=AWL,BAYES_20 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sun, 15 Feb 2015 11:15:22 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.35-0.1
Message-ID: <20150215101522.GL7225@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20150212202323 DOT GI7818 AT calimero DOT vinschen DOT de> <74410B36-A057-483B-AAA3-20C15934374E AT Denis-Excoffier DOT org> <2F8A6D52-E4D9-48D0-BC21-13213AAC9F4B AT etr-usa DOT com> <A2F3E911-AA9A-4CFD-ACA7-9C5269339F92 AT Denis-Excoffier DOT org> <6CF2FC1279D0844C9357664DC5A08BA20FAEE2E6 AT msgb09 DOT nih DOT gov>
MIME-Version: 1.0
In-Reply-To: <6CF2FC1279D0844C9357664DC5A08BA20FAEE2E6@msgb09.nih.gov>
User-Agent: Mutt/1.5.23 (2014-03-12)

--GBuTPvBEOL0MYPgd
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 14 15:50, Buchbinder, Barry (NIH/NIAID) [E] wrote:
> Denis Excoffier wrote on Friday, February 13, 2015 4:31 PM
> > You misunderstand.  I don't need this stupid
> > 'Document and Settings' thing.
>=20
> "C:\Documents and Settings" appears to be something Windows handles.
>=20
> On Windows 7 Professional (ver 6.1, SP 1):
>=20
> Open cmd.exe.
>=20
> "dir" does not show "C:\Documents and Settings".
>=20
> "dir /a:" shows the following.
>=20
> 07/14/2009  12:08 AM    <JUNCTION>     Documents and Settings [C:\Users]
>=20
> So it looks like "C:\Documents and Settings" =3D "C:\Users".
>=20
> On my current machine, in Windows Explorer, I cannot look inside
> "C:\Documents and Settings".  In cmd I can cd into it but neither "dir"
> nor "dir /a:" show any file.  However Explorer will let me see inside
> "C:\Documents and Settings\myusername".  In cmd I can cd from
> "C:\Documents and Settings" into "C:\Documents and Settings\myusername".
>=20
> I'll stop here since I don't know much about junctions.  But I hope that
> the above helps.

C:\Documents and Settings on Vista and later is not a junction, just a
symlink to C:\Users.  The weird behaviour is the result of the
permission settings:

$ cacls C:/Documents\ and\ Settings
C:\Documents and Settings Everyone:(DENY)(special access:)
                                   FILE_READ_DATA

                          Everyone:R
                          NT AUTHORITY\SYSTEM:F
                          BUILTIN\Administrators:F

Note the deny entry.  Microsoft was trying to discourage the usage
of "Documents and Settings" for the users, while at the same time
keeping applications hardcoding the path (they exist, unfortunately)
running.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--GBuTPvBEOL0MYPgd
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU4HG6AAoJEPU2Bp2uRE+gZMsP/2+G/Wi4BCl/gUdDC5hS9Rqs
OoE1OdIcuW+PcLPe07TYFo/3Gqjx1NYbWGR1fc/U7xQGdkwzj9sNpiTC8du2inya
z4qwLDHdj4BX4jSK496GvgTqyHtIutHolak8/5reyi1V9AYH4z99YTtp4CYZmhZx
+I1pVovd3eQ56bQ5LfyJljyGFExnKvnY3VJmM8AX2FPTm14nW7qj+eIoafbXICgl
4Xcwf7CRD11LYzctdK5Q+IT3mGQVNKenwicjRvveZfMrhzf4XZtHi7Cw83x589QV
rOpwFylxO03j1HyUseru4IWveCU3+ui90c4pn6hiUQOc6c9RzUeV8t58yiPmnabx
HKlRRZx/D7+ESVmNJn+xps3Ybaj+KWn0GtzJ05VzZ/5lSPdYZMKNod1U/1KvI5Pe
CbJsvKX8ua8tadPof5SxP5F0sYFM9JQemiZoX9usdOo/EOOSLswL9UPF6uKUrsL1
PrpaWGeXTb0Kn9DVOa14tANfbrMeEhvZ+iXqDZKKQwJY09Lk1/KblYOU6sm7I9i3
q2YLOPqQ/4hbzJMM9p5lV8XcNLsgKGEvGLK5Ih7DFbY3jGf9bUYYFKLWY8+8qVEa
Pf0ZK3NcXn75A2UejZN+B/QnI5w4hBvmE7AKuXcWDa+jCIprJ4ksGG0VkIBnMW4Z
kQrxNker79YAYPbikkiq
=1VxN
-----END PGP SIGNATURE-----

--GBuTPvBEOL0MYPgd--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019