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=dtCwBysUiGCcLPY9qtplK5ZU18dkTv7d0JdDnghrVsasqtsEKvPt4 aCY3MKQes3183vomz6wqze9SWWp5tMybqCNI/wzqiatyKX5nUq9ajAUUjI4SoSOG xvBD262+PWYJFNlrV1RrmFATZnOJiV+i3/7bHYygW46+gBeEOafydw= 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=w3hvR+nJk8dtMj1hAb0Iyw6R0Ck=; b=bgtBnEFhG29PZuGw1r8SP9T4+rix WvxPgz7xXibF49pKkl7AmjiM3y/Gq2oz4XZRKIjhVMauvgi608w1F1wNI/G37jkI XSaygrZ/u/nN1LGzqnM17RgpLSSUDLMV3uSP/S+oUQgQK6ERFYNP+4ZhqjLO9H8f muW29vMiRRlNqas= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Spam-SWARE-Status: No, score=-101.2 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=reserved X-HELO: mout.kundenserver.de Date: Thu, 23 Aug 2018 10:12:55 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: incompat in cygwin choice of using '+' as domain and user separator. Message-ID: <20180823081255.GO3348@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5B7DE56E DOT 6060109 AT tlinx DOT org> <052f43f8-2da9-fd94-48fd-965b23281e0c AT gmail DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="YkJPYEFdoxh/AXLE" Content-Disposition: inline In-Reply-To: <052f43f8-2da9-fd94-48fd-965b23281e0c@gmail.com> User-Agent: Mutt/1.9.2 (2017-12-15) --YkJPYEFdoxh/AXLE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 22 22:54, cyg Simple wrote: > On 8/22/2018 6:36 PM, L A Walsh wrote: > > Ran in to this trying to use tar to store acls and xattrs: > >=20 > >> =C2=A0tar caf lawbins.tar scripts scripts- bin=20 > > tar: miner.js: Warning: Cannot acl_to_text: Invalid argument > > tar: run-crons.sys: Warning: Cannot acl_to_text: Invalid argument > > tar: smallprof.out: Warning: Cannot acl_to_text: Invalid argument > > tar: tmon.out: Warning: Cannot acl_to_text: Invalid argument > > tar: ubytes_to_utf8.new: Warning: Cannot acl_to_text: Invalid argument > >=20 > > examining one of these: > >=20 > >> =C2=A0find bin -name tmon.out=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=20 > > bin/tmon.out > >=20 > >> =C2=A0lsacl bin/tmon.out > > [u::rwx,g::rwx,o:r-x,u:Unknown+User:rwx,g:Unknown+Group:rwx,g:Administr= ators:rwx,g:Bliss\Domain > > Admins:rwx,m:rwx/] bin/tmon.out > >=20 > > I tried tar in an existing dir: > >=20 > >> =C2=A0mkdir test > >> =C2=A0tar caf test.tar test > >> =C2=A0ll test > > total 0 > >> =C2=A0cd test > >> =C2=A0tar xaf ../test.tar > >> =C2=A0ll > > total 0 > > drwxrwxr-x+ 1 0 Aug 22 15:26 test/ > >> =C2=A0lsacl test > > [u::rwx,g::rwx,g:Bliss\lawgroup:rwx,g:Bliss\Domain > > Admins:rwx,m:rwx,o:r-x/ > > u::rwx,g::rwx,g:Bliss\lawgroup:rwx,g:Bliss\Domain > > Admins:rwx,m:rwx,o:r-x] test > >=20 > > With the above and only standard separator chars, no problem > >=20 > > I'm guessing, but '+' is a reserved char that's not permitted in > > acl_to_text... >=20 > You're misinterpreting the '+'. It was used in place of ' ' (a space) > in "Unknown User" and "Unknown Group". Now why isn't "Domain Admins" > also "Domain+Admins" is a question of pondering. No, you are misinterpreting the '+'. It's in fact the domain+account separator character in Cygwin, just as it was in Interix. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --YkJPYEFdoxh/AXLE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlt+bIcACgkQ9TYGna5E T6B4Iw/7BHkwLgPSP06BV7xj8J7CgLiCoSqNxSPeqVxj5RwRANl8LLP5gU/2zVxC Y7XfZ13FvBLT90+e+b5bGPJ+KKCBLLsYDYE8issiVG4FygWIEs1vSY9voUgVfSIb 8dRxeWQLwMP1uZ2rTgKhFOFqBR2goTYadlcjLhmp323vg1kAyJaSwVRBfIAEzIUA mL/xQ5doeDHi2+kT/089FrTgKgSmTMI+J+1n4SHtaye7hkq0Cj2GxWXSlRdNr/EQ W5Y8XIssm7x+HhvSa5O5Y4ILYNwkbhCQ5quWbKF6LCUkPtD9pg26uwtGeAA/mIDV K3a6WRpuehUHH/LX0SX2V9u0/mE6KCVHkj/QfiK10Wqdad+anZLpBJeojT/PAyS6 LCiJ6EceFKJ+ZguVyD/DfWhbv15UnXNGk1J8iOjy3fsI17vnqsz5UtwZGnWvod+e v3rawLIxuc4YO70/N6QiCpXobIQBaqWWUOzENNhvHhS19vMTJykjgai5NHwqVfk0 zksZ/y4X7JuAxt4iYvbSuSFdIcQYJPgckYdPuQYWL29Fn0TCSVxf5Jk6z6vlFPFS QbrL4MG9IF9EMXZEaprKA1iyyAtvQzCLsaGSwRMFcOTfiWGAULcRPsdDn+5fxcQV ftagH970f4OYAmwH4xPpj45NEeNUs8DNAF129xSSjvVAOGfcc74= =R5qk -----END PGP SIGNATURE----- --YkJPYEFdoxh/AXLE--