From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by sourceware.org (Postfix) with ESMTPS id 4D9613870884 for ; Fri, 10 May 2024 00:55:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4D9613870884 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=gmx.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmx.net ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4D9613870884 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=212.227.15.15 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715302517; cv=none; b=RGerRUWSGeQ0tFnZpoa0VysynPeBOIuuFar1wAkw6Nc3LNMGttpkPGX4CS9+Ru/wQrqUOSH77tP+uxpctjMMoIdf9ZkrWWDPbVlMWlEafkxH0os5FJoyPYDJpxScJkLcc/qVhEAYN+VMvgI7g3LvaToOn7ap5ppHMhRqqu4iyiY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1715302517; c=relaxed/simple; bh=yLkxmOA413U9pBUuW3btsgBMcLpxpfP5vTC7GP1lcPw=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=XPB79OMo3Mok0E7Rd9sVGgP4fUdIC+KOytddCyW5/gL5tGocaIKKgyc0PQalAYOQQPfRkYV2VYBbU+2N34WUhO5/mTj+5l94PuNHhzB2bT/LCrEnGNHVINCCGqbZmjL/AXCNACfTUlOj/XRw5RzhDgU5LHiauR62SBhkeKTL3cA= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1715302514; x=1715907314; i=f-u.s@gmx.net; bh=yLkxmOA413U9pBUuW3btsgBMcLpxpfP5vTC7GP1lcPw=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=Mm/VEVJDpgfSmXCZE2pyxwp6i8MO3d3ZafFk1ZaruCFb6/j7Rvd8ta5gHafJIOxA TnmXbOxx1/sku3+XHhfngy6ktAt0Dd8KYOA4Fv2zZHyIZqk/8IKfGvIisYjuAnKkD 7EvamsT1zvc5q63V90AFLlNi2gETyRok4wOLqiGibuhd6kWZzEv0rR8ts7lP0HTbc IPJtJ58gXwKt49aSFbAy3h7v9cItn0OYrvOVef/taTSb2q8dCb9C0hr6FcXqIbiT5 A8Iopa+txNEnRvKC/PQsAy42wsQrbi7wPzvnZetUrX0vTFWMNDg+V83MT1Y07mQmN 5y+D/zHVsbueUh/FZA== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.1.7] ([84.60.33.227]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1M4axg-1s4gqK053u-002qj2 for ; Fri, 10 May 2024 02:55:14 +0200 Message-ID: Date: Fri, 10 May 2024 02:55:14 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: New installation of Cygwin64: xinit.sh exit code 3 Content-Language: en-US To: cygwin@cygwin.com References: From: Frank-Ulrich Sommer In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:9hjDbsO4Etsz/EFNkYsnWIEvCirv1zLnlZJiG8G2Q18VXX+cExs efxPzz+OC/AOlMkCWRjoOce4aP0A8eAu2eXUXc1W5jUoYl4ZYeIK/MhUTPd7U6HCMCu5k0i E5PvRtgL3LrR22+7gEFCicTIWPe4+di4rIz6PgLrDFcJY2H6GE51ejWU24ke9tQqGaW7Rf6 56c53ZSIPzxa6k6uLMPSg== UI-OutboundReport: notjunk:1;M01:P0:6GU8IbVeVcU=;T38n2v2TZU2vhSPj0vChyNi5llf jzWGq9YfAmyx31axhdD6qL/Tc68ZkKNwybFm9nVtbxQjeilC7K7kr2EDCsFFtzJs436hi80g1 s3zn0EK5GTyYhjo6SqO6ubDxM5ct812EDjU88Yw/nnOXs5+KRPrvGWpACkjKD6fsargEuJ5pz yXwwdeGdX0zkMG//gnivIGxaVavDxcmYLDz3YwM531k+++xlP6qHRc/6JuIEguQkYrQ7SrXo6 u0y4hOrDzCZb6Aa3aAs07dI21bkO9LeFHGQaxUThN/8lBpTrtqfZrgHPrGLbANXnMeTeZhz4h jWxMNL9kWJd55W5XtdxwiwWwz5ClQJn7+jHv+QrwBlwhI0RDSF6mDsszGPkD0JX+jYlh3h744 p2BFoLw4rur43Ye1WGXfxh+W+xHHei3dH9dIRZv1SQijo2KjDwD6jNjXMS2fBwsyx3/mGgoSm s5suYgx7woJan+IQLdyEfJ72NHdBCtXa6FD5Mc9l9FuRIQNUHtD2VaVwDHO+CSFE1rnZ2RwYH DSCId+6cIhO97xGqwUkZhVFmVwb3jnUocSuM3ZtT//mUTONo69/jqsxkiukFh3z6xqAQqyxJe 90QpemJIABJU+uNlSTYKjhTWCziALbPt3Bc5k2QWF4dhA/u5usK+imOFGnK1IpQDJ8t4DBdSx K5pb69DiSysAru4U66ItdoUsWncJjhrzcit5LAOBUgZ2Q+KV9RqJD0wsvBCXoWFXea3dfMD9p 7PN1ynYgv0/PQ535VHya3BagpJmtQ/tPE6uvF6K0kMKmooA1PyoHePpaGIDln19MblCzFUJi9 fQ0HmC72Z29yh48NsT9hQ0rgiALKOVOCZvDhE4YXBIA4s= X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GB_FREEMAIL_DISPTO,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: I seem to have almost excatly the same problem except that I could not sol= ve it by removing the Cygwin-X folder. In this case during the reinstallat= ion of the xinit package the folder is recreated again and then the origin= al error message (xinit.sh exit code 3) reappears. The directory again has= strange permissions=C2=A0 when checked with Windows Explorer and I am not= allowed the enter it or see its contents before resetting the security se= ttings. When doing an "ls -l" (within Cygwin) in the "Start Menu" folder the group= and owner for the Cygwin-X directory seem to be reversed compared to othe= r folders manually created from Windows Explorer (i.e. the user name appea= rs in the group column and vice versa) but I'm not sure if this is importa= nt: d---rwxr-x+ 1 myusername Administratoren=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 0 May 10 02:27= =C2=A0 Cygwin-X For all other folders the group is displayed before the username. I had to fix the security settings for the Cygwin-X folder and then manual= ly execute the last two "mkshortcut" commands from "/etc/postinstall/xinit= .sh" (replacing $CYGWINFORALL with "-A" and ${wow64} with an empty string)= . Should this be the only problem and should my "fix" be correct? And is the= re anything I can do to help find the cause for this problem? On 23.10.2023 17:41, Brian Inglis via Cygwin wrote: > On 2023-10-23 06:05, Fergus Daly via Cygwin wrote: >> << Detail >> >> >>>> When I used Explorer to visit C:\ProgramData\Microsoft\Windows\Start = Menu\Cygwin-X I was told: >>>> "You don't currently have permission to access this folder" >>>> and clicking on Continue to get access I was told: >>>> "You have been denied permission to access this folder" >>>> There was then offered an option to edit Permissions which I didn't f= eel like pursuing. >>>> (I am the Administrator on my own standalone Windows machine. The den= ial of access to Cygwin-X feels odd. >>>> PS I also have Cygwin32 installed and running. I _am_ permitted acces= s to the equivalent folder Cygwin-X (32-bit).) >> >>> Please try running the following command/s, under Cygwin 32 and 64, an= d posting >>> the outputs: >> >>> $ for p in "`cygpath -A -P -U`"{,/Cygwin-X}; do for c in 'lsattr -d' '= ls -dl' >>> getfacl; do $c "$p"; echo; done; icacls "`cygpath -m "$p"`"; done >> >> Thank you. (Again.) >> 1. Actually before reading this I had deleted both folders >> (successfully, despite not being permitted entry into one >> of them) and the re-ran the xinit installation with no >> bother at all. >> I'm guessing the Permissions glitch resulted from some local >> recent accidental keypress or sequence. >> 2. icacls? Haven't got this though I have got getfacl; found icacl in >> "Search packages" under libattica-devel and ng-spice-debuginfo? > > =C2=A0=C2=A0=C2=A0=C2=A0$ /proc/cygdrive/c/WINDOWS/system32/icacls /? >