delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/11/17/09:51:21

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 4AHEpKUY2213507
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 4AHEpKUY2213507
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=EayptHVD
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D7316385AC36
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1731855078;
bh=SC6xjhqiUU+onhWEWQniFuMJFwKCnb+4v5cd0hmSkik=;
h=Date:Subject:To:References:Cc:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=EayptHVD3Mpmk5FCeuZpujCRdp2lZ2K8G41V9QtZAe50bt8nmuYbvn0wFEgP8YG/E
BdsrxacYXUvM+CXVKEyt88MwdKO5PqqbprUgg8vmrN3GFAfy1Tbd3Yl5DWFAbuZJ0e
c1PYgI0aeofUR1cHStnNvNhxtVbuVlyI/LpVbxYo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 662C73857341
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 662C73857341
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1731855017; cv=none;
b=DFSRMb9AZ69U6oQ03iUC7eg79Z+K7RALpdxa28v2g42jbH1IyNCb0Kc4eF8+Y1adb3kddujeJ1E8BObp22X2Ib6X+0l/fu5mUPKazYqpiCs/AUWQlMnY+PqIEjbqYMfWcktQ/ydd3rwhechotl9ufVTIYunysNLEMI6nRqeww8k=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1731855017; c=relaxed/simple;
bh=hAIai1nSbxmwGMjP0w/wgZMPSDdmeJfR5Dy5jOx6Sdw=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=iwXIoJyyc6+8CHKvTBLik16DLYv3FdiKcHTZxVCRmGw27XBbbvGOUb3tyniik33tNSivOamtrug3yw8dJ3We8TAKeypXiK/CR2mxeMlFODglvS08MwLIDwHfKGF2pUbMAXx+3XDYuNuv+T/5VFCzT9sYWQzICV+3HmQjfCjV+Lc=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 662C73857341
X-SNCR-Rigid: 6722B0BC01FB9AB9
X-Originating-IP: [81.152.101.74]
X-OWM-Source-IP: 81.152.101.74
X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT uk
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeefuddrvdekgdeikecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhvegjtgfgsehtjeertddtvdejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeehgfetieffgffhkeehteffhfffudeklefgjedviedtheehgfffheefieejgeeiffenucffohhmrghinhepvgigvgdrihhtnecukfhppeekuddrudehvddruddtuddrjeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdelngdpihhnvghtpeekuddrudehvddruddtuddrjeegpdhmrghilhhfrhhomhepjhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukhdprhgvvhfkrfephhhoshhtkeduqdduhedvqddutdduqdejgedrrhgrnhhgvgekuddqudehvddrsghttggvnhhtrhgrlhhplhhushdrtghomhdprghuthhhpghushgvrhepjhhonhhtuhhrnhgvhiessghtihhnthgvrhhnvghtrdgtohhmpdhgvghokffrpefiuedpoffvtefjohhsthepsghtphhrughrghhotddtiedpnhgspghrtghpthhtohepvddprhgtphhtthhopegthihgfihi
nhestgihghifihhnrdgtohhmpdhrtghpthhtohepkhgvnhhnvghthhdrfhhrvghiuggrnhhksehgmhgrihhlrdgtohhm
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
X-VadeSecure-score: verdict=clean score=0/300, class=clean
Message-ID: <2993c926-b11b-4d47-95a9-037407073c80@dronecode.org.uk>
Date: Sun, 17 Nov 2024 14:50:13 +0000
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: New installation of Cygwin64: xinit.sh exit code 3
To: Kenneth Freidank <kenneth DOT freidank AT gmail DOT com>
References: <CAG9tf_17otsMJwtL4OF=6ngrap=a7sMZDftTjA8GnG3_zeYw6A AT mail DOT gmail DOT com>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <CAG9tf_17otsMJwtL4OF=6ngrap=a7sMZDftTjA8GnG3_zeYw6A@mail.gmail.com>
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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Jon Turney via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

On 15/11/2024 21:53, Kenneth Freidank via Cygwin wrote:
> I too, have this issue, but have not resolved it.  I
> installed "amd-software-adrenalin-edition-24.10.1-minimalsetup-241031_web.exe".
> It seems to be a permissions problem.  I am the only user and the only

Yeah, this does indeed seem to be permissions problem, but it only shows 
up for (some?) users of Windows 11.

> administrator. OS is Win11 Pro, version 10.0.22631 Build 22631. The
> permissions seem to be scrambled in the script.  I have run the

The /etc/postinstall/xinit.sh{,.done} doesn't script doesn't explicitly 
do anything with permissions, it just relies on Cygwin's normal handling 
of them (under the default bash umask).

> troubleshooting script and attached the output.  Can anyone help.
> 
> $  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
> r--------n-- /proc/cygdrive/c/ProgramData/Microsoft/Windows/Start
> Menu/Programs
> 
> drwxr-xr-x+ 1 SYSTEM SYSTEM 0 Nov 12 21:36
> '/proc/cygdrive/c/ProgramData/Microsoft/Windows/Start Menu/Programs'

[...]

This looks normal

> d---rwxr-x+ 1 kfreidank Administrators 0 Nov 12 21:36
> '/proc/cygdrive/c/ProgramData/Microsoft/Windows/Start
> Menu/Programs/Cygwin-X'

[...]

This looks odd.

We have no permissions for a directory which we just created and we own.

Even then, we should have permission to create the shortcut there, via 
our 'Administrators' group membership, but it's seems we don't.

Puzzling.


-- 
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