delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/04/14/04:22:12

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=i31cvKOXzPdmw4lyMeQ1Lxh+S9wcEadquNJ5dwFSfkfI+Aop+EgQu
I24hokxIXmZn4p2853wNy4mEtvuQ6/qtDBSn/d4M82S9mcdpLqQOJ5yegWNpW8fe
cbLb+kXfhoXV+IDrHdum8wuWZ/U/F1E6Ny8jppy0BXVNjfMB84gJgU=
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=EtMko2NGRNgrKu7bHLMCG5OF/lg=; b=MWwadPBQHNIVHBMKb4BwS5wgnMo8
lIuOxI7XN86wDrf2Z7QzTnsuBavi+EQPsoqiSrVf4KUBG9mw5kyFAYgAiXwgIqu2
KGrohQ9kIuRF1SGnRzW5CFB/R2VNKufe51e3XrgTILFWEpxIIXBlRKLlrOBnoebe
eyROe/U6UVK9i/c=
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.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 14 Apr 2014 10:21:50 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Still testing needed: New passwd/group AD/SAM integration
Message-ID: <20140414082150.GJ3271@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20140410145323 DOT GB2437 AT calimero DOT vinschen DOT de> <5346B667 DOT 3040704 AT breisch DOT org> <20140410152809 DOT GD2437 AT calimero DOT vinschen DOT de> <5346E55D DOT 6020405 AT etr-usa DOT com> <20140410190424 DOT GK2437 AT calimero DOT vinschen DOT de> <5346FCF9 DOT 5000908 AT redhat DOT com> <535719170 DOT 20140413142733 AT yandex DOT ru>
MIME-Version: 1.0
In-Reply-To: <535719170.20140413142733@yandex.ru>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Apr 13 14:27, Andrey Repin wrote:
>   But keeping in mind the rules on tilde expansion,
>=20
> > ~a+b/file
>=20
> > can undergo tilde expansion for username 'a+b', but
>=20
> > ~a\\b/file
>=20
> > cannot do so, because the \ is necessarily always quoted.  There is no
> > way to get tilde expansion to work for a username containing a shell
> > metacharacter, which frowns on quite a few otherwise useful characters,
> > including \.
>=20
> > Worse, the thought of using / as the separator gives me the willies - it
> > is BOUND to go wrong.  The expression
>=20
> > ~a/b/file
>=20
> > is NOT requesting 'file' within user 'a/b's home, but 'b/file' within
> > user 'a's home.
>=20
> This is a grey area. Shell macros is only available is the shell prompt
> itself and scripts executed by this shell.
> And is not portable at all.

But is it such a bright idea to break it for everybody?  It's obviously
not a problem for non-domain, single-user systems.  And I guess
companies which set db_separator to "\" and db_prefix to "always" don't
care for this detail.  But in other companies with lots of login
domains, you have a potentially huge number of users working on machines
in another domain and the separator char would be present quite often.


Corinna

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

--l0l+eSofNeLXHSnY
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTS5qeAAoJEPU2Bp2uRE+g/SQP+wTaaTWS0041BPImtP4ctn+A
y04RBXNR0HZef1H45UVGEBJJazoAZgUoKWOYL9vrlzcnMI9o/yKkVhKpb9yNXHL5
J1r8TVpKpHNnRlXlakRmqunFA3267HOvKEs6WDPcRPDIvZtqqi+hJUuAPkaaei6B
GEd7bt6uevsRzH1zyqYzq/Ot6YcQ2AFMr1F1EVneDGMhOy97BowZphBNg72cEwVD
A788WwWzs9D8xuTvcYWMicgihg5DEL/vAgA1ZmPKRDVPKCwgBJ/pNKcBJY6/w4lL
34s1pYbc9YA4pDKuahTd/sPSh8jZUWX9G+7mTNIo+Q9mU37/aDZWkpx/XsrCR4Oe
3qipX8ucREgbSjk/GerwgRilEi2Bvf2Pc4GTFrBIj71Kcur/4RWZCIEoR49eWxQi
UzHlniaX0/AzUEm+MeSjUVQgPST/3nDk5/1268BgziPYh5uDLB0FyyHD6sXIqwV8
/Gy8ZTqhpn9RMPSd/bUEWQ6wUnQMfmVYJR0ybi5hD8VgVgiElsQYUFnvo5wEIKpY
hZSuqKGvBAPioj9C+x3kkZtTmkSms1Do3Y5y58Cs4+/BkIJV98nuDMl8bYleB/vc
vHwgameotX0Vg68HmL8F5MlbkuH9ApMK9TjFGxybNgzhOrfqLNikG+1fTWfRGsLW
3IwNuUquyGC0N8pTWGMy
=cs9l
-----END PGP SIGNATURE-----

--l0l+eSofNeLXHSnY--

- Raw text -


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