delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/05/09/20:56:20

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AFB5038708AD
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1715302577;
bh=kG6NWe0mxsezx5Vdw5igXZfLv7WaMHlrhZgpdToX7F8=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=kBU92x6+W5lO1q370fjLIIVhKSyBHV65vOv2DSXTRPM01hE9cP21Dbq/Jmjn78kJG
yw/JWM+dTWkbIOehVdDrUc71H+z5oUP6iEqWeMrYYKPHH0lywoQlHJtwlm5QaA49gz
4Sm0ADO1qzEk1qK9eELOAak7bjK1wF5umAen89W8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4D9613870884
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4D9613870884
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
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Message-ID: <f8215d78-f293-4def-bf2f-b6353c94c75f@gmx.net>
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
To: cygwin AT cygwin DOT com
References: <DB6P18901MB0055D34BA4A0E7B5DE8D037CA4DAA AT DB6P18901MB0055 DOT EURP189 DOT PROD DOT OUTLOOK DOT COM>
<DB6P18901MB0055F5110CCE7CBF18CC7A24A4DAA AT DB6P18901MB0055 DOT EURP189 DOT PROD DOT OUTLOOK DOT COM>
<DB6P18901MB0055E435F5153FEA53D7781AA4D9A AT DB6P18901MB0055 DOT EURP189 DOT PROD DOT OUTLOOK DOT COM>
<DB6P18901MB0055B3895EBA424D0CC0C1BEA4D8A AT DB6P18901MB0055 DOT EURP189 DOT PROD DOT OUTLOOK DOT COM>
<bbb6f94b-a8da-4ea5-b6dd-2538c98fa95c AT Shaw DOT ca>
In-Reply-To: <bbb6f94b-a8da-4ea5-b6dd-2538c98fa95c@Shaw.ca>
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
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Frank-Ulrich Sommer via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Frank-Ulrich Sommer <f-u DOT s AT gmx DOT net>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 44A0uJg43753197

I seem to have almost excatly the same problem except that I could not solve it by removing the Cygwin-X folder. In this case during the reinstallation of the xinit package the folder is recreated again and then the original error message (xinit.sh exit code 3) reappears. The directory again has strange permissions  when checked with Windows Explorer and I am not allowed the enter it or see its contents before resetting the security settings.

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 other folders manually created from Windows Explorer (i.e. the user name appears in the group column and vice versa) but I'm not sure if this is important:

d---rwxr-x+ 1 myusername Administratoren                0 May 10 02:27  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 manually 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 there 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 feel like pursuing.
>>>> (I am the Administrator on my own standalone Windows machine. The denial of access to Cygwin-X feels odd.
>>>> PS I also have Cygwin32 installed and running. I _am_ permitted access to the equivalent folder Cygwin-X (32-bit).)
>>
>>> Please try running the following command/s, under Cygwin 32 and 64, and 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?
>
>     $ /proc/cygdrive/c/WINDOWS/system32/icacls /?
>


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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