delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/05/30/19:21:34

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 44UNLY1I2297589
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=SN6HJOMg
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 90AA63858417
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1717111292;
bh=xdF2wYTXfhlZ4+rS2yamjPS9uf8M+RVPVfaxUEsybb4=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=SN6HJOMgAET/gVxsmuE6cfRqe6D1fWIXY1BoLIyU4AYJbu1k3akAZ7wHzImrQrv5g
lbnW2IXAZXxqWxpexlEfV9q8uecqz3PF899t6U7bPj+brlPe171QpVDlGZAveWvmON
qUoA1Y5qqsM+lDt3mwebYUi2PkYdpOhXTQDlqs7k=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E06753858D29
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E06753858D29
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1717111268; cv=none;
b=XEWonVEUBDvWIZE2RP3SbELE4ZeKOyL4OnGBx66Q4F/TYqUnEKLC+BYsSuLPui/mL13M0nupmFOTbXOC1kAMk1HdVT2tX6D4haS4p0GaGSbZBeYSu90AMZwV2hdQAMMbGxG5ghftyi+/YchooAQ4wAv2ctg+Lqnhfn/lHdyNRC4=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1717111268; c=relaxed/simple;
bh=550VkjYOkjyxOaOcELulwsKOpLRyEkqEXXoQTK/zl14=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=NGEZFow+P8Bl0letQ3kk4RL3BY2IOhlT464+xFoLzbcnuGrLaUCAWaYefO/RDSTyMiatnKLOWlydWoDPpNi1MHSaXVgYrhy5Hj7q2EUWpY0uS2TlZdvlGFxrvK37mddgsh7yBkQpFit3oYh0e9qpoTTNQokL22JZB58tizPhsi4=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1717111264; x=1717716064;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:x-gm-message-state:from:to:cc
:subject:date:message-id:reply-to;
bh=550VkjYOkjyxOaOcELulwsKOpLRyEkqEXXoQTK/zl14=;
b=QOqgjGT4E20v637r45NBLM45NJ5OzUcLaAQqKgI2oCZkODUQQYsa6MHZwXpgIXoc7v
KuBmzZbi67RS+SBu1cQ37YDNq7+vmjr/nYqDHnJNRxEvB5mxhzZEs3bw/Gx7lHOwRzr6
VZUDK3It7XvMEYWCS16fAYS1TR61nS+/FkngoTYwWq/YDjGX6XDqJ4SESOxxp4Gpv3VO
SQdPO+Gc9QXZgFZfIMWueUuNYvUevMYZ9ZAGDTJ3XrGZOtBq2nW1C4VA3MlAgxWn3tZz
Y/FtK4/3TlntX9sBf0NxUaDvNazq9ZBwKZA9X7JFm6V13wTS9Pdz9+De4O2KEj7gaWpf
23iA==
X-Gm-Message-State: AOJu0YxRWvx0guS/WDDPHhXT1njZsL2An9MOrZCmuHM2Rs5sx14WnElY
45z04Hd/3tAO4qoLleDnRzo9RjPp6oDJSbUvcfw5Vkm+HfIam7F5SMg8U83l/oCXL/MuPJ/Z8Fx
Hsg8YcRcHl4xmqDwhuzrXP6Cn1bhfJA==
X-Google-Smtp-Source: AGHT+IELurRZHJYhgOVp5RJXP4aQbC1oTGvT2XttDJEyELIf6MBk2TQzQhRSj9VDx+NNe3vdG/wGnxUBLk7WflOGkt8=
X-Received: by 2002:a19:4352:0:b0:529:ecf7:29ed with SMTP id
2adb3069b0e04-52b895603c4mr53297e87.6.1717111263399; Thu, 30 May 2024
16:21:03 -0700 (PDT)
MIME-Version: 1.0
References: <CAAvCNcBhRXTrARcE0azC4s=E-AEAVxecPBLswO0p9TE0FfhA0g AT mail DOT gmail DOT com>
<CANV9t=RuVp=32A5VNm6R9yO3eY=auVfHywhwPBiCWmsSLO+XtQ AT mail DOT gmail DOT com>
In-Reply-To: <CANV9t=RuVp=32A5VNm6R9yO3eY=auVfHywhwPBiCWmsSLO+XtQ@mail.gmail.com>
Date: Fri, 31 May 2024 01:20:37 +0200
Message-ID: <CAAvCNcAoEHUbZAv5OxyHOAx6O3mRifg2KGekmSuDCBg_3oJaxA@mail.gmail.com>
Subject: Re: Run explorer.exe with Cygwin newgrp(1) - same user but different
primary group
To: cygwin AT cygwin DOT com, ms-nfs41-client-devel AT lists DOT sourceforge DOT net
X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE 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: Dan Shelton via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Dan Shelton <dan DOT f DOT shelton AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 44UNLY1I2297589

On Wed, 29 May 2024 at 15:41, Bill Stewart via Cygwin <cygwin AT cygwin DOT com> wrote:
>
> On Tue, May 28, 2024 at 9:36 PM Dan Shelton wrote:
>
>
> > Does anyone know how to run Windows explorer.exe with Cygwin
> > /bin/newgrp, so all new files created by explorer.exe use that new
> > primary group, and all programs launched by explorer.exe use that same
> > primary group?
> >
>
> As I understand it, Explorer always starts unelevated as the current user.
> This is by design for security reasons.

How can someone run explorer as Admin then?

FYI winsg -c eng4grp -c 'explorer /nouacheck /separate' does not work.

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd

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