www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/04/08/17:28:05

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 538LS5bn2288682
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 538LS5bn2288682
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=FUdhTBbs
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 64B5A385EC35
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1744147683;
bh=u/PhLGW2/3Tzorie1fIZbe7+CjaByPIGJiyrNn7jtTc=;
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=FUdhTBbsZUEsuqLKObb+MeqfT0INYNW7y9CbUZRnY5MbOkMYMgw1JEDmIcdc8L1Fl
EyRy1pJzjR0LOJWWfwWhcOPDXs6Pq/B2DH0LV0cVcLgWpYnyWap/mFNVBJg1V8jE2W
S8z53NVGghsTB1bY5hStd+31XDu8U15hvetBr/qw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6DD64385842D
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6DD64385842D
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1744147615; cv=none;
b=jYpPLeLvmX7VTnkR5KOJwa3N5qusX37ruROwm3DYxVhUc9xMwC792uBKD/FKgpMshjW2oYNbJvXte9f7htj4wCE+iVOSkbboNSO410Q2nkRd1Xm6SFHFAD9xLxb30Swq4EO01y9b1xCfw+V/dMjfMe7VNBd1tMUyVQV04zXTvFA=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1744147615; c=relaxed/simple;
bh=zAPSwGNiIf7XcSIr9xp/Co/grxbGMj2GtW+fJmW/ml4=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=K3vFS4+1isnalL9PC2Gzwd2nQTRiWiDdN580L5kmjXH1zqzOO3x46cjFEiHQwG0FGCcfon7/0IFohsg+qnXZ49qLVhElzYxuwaRR45o9PMNgz+OiWVSBZOjvbiDBzHuNYBq5maphZ1brlFUUZrdztKbrJ0+ZMy71147AhSB5Tmc=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6DD64385842D
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1744147614; x=1744752414;
h=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=di1XBCLAcFeWKJ4+ONI8ANqvi3MA4+o9sTyv4fzWQ7U=;
b=nwZujb1pMWwg4NhLLP9sEDHELaQIdJV2w8Aai8wO7ASPnEOtnUgZUncqaXz/VuhsLf
AH1aFD1URcWFrmMffwtq7E2rLDZneS6FZPDw7kTOHz0rHGeeFBDhZNDqPf75q3ejRAp5
V7tRzl+jQMW+QLEjC5uRlweQQQSDA3Sc1xFRbs5a7+1ZGP6k2Ud6pyzBnQScbdEElO/a
wO+iPusLviYyAuy892kRGnFBVdW5oBF31n8zb+xr2KVKZmA5CY88EE+zw0xCwUIHDT0w
/wbCbHGdTTHVQmWatrx51iFLjRLuHkysZCPEq0jfiYj1cHC0ACxiaxx69T1EHXnJWEDy
Ry8Q==
X-Gm-Message-State: AOJu0YzHovBNK+AS4iDJPEaCjJnjIyo5dsYnQks4hFRbNh26k+vD+P3W
siDR5gUbcy8ablWwDy9j89tHpnkQgZaC6KEKUZyZYfQz6P519b4lxz+sjvt5U8+dhe2+sm9oydT
bLDQLFS9OiWmlzZ9JD6FPyPLlfGNGAq7e
X-Gm-Gg: ASbGncvPLOK+IdaXvzOFNe5rHEqCeScTlklyJfiV2gG2WIb/hrqgudzdYAteWMA32p2
HnkBqpb8EuC54TJiySPOL/O2TRnl4YIOP+gfwrgytJjciatqCuvV639fxU8EvEZnZ+7de3ozjaC
/nCknRwwYlSWoftW/g71wgHP/QhROonZJG+kSW
X-Google-Smtp-Source: AGHT+IGG2lj25fJoXQu0C1AMj9wfm27ubo6TPYKEoFoHjpsUcvZuMJDGFumOU6Ay9TQh8deBJlCAVuNJ7Y7wiDZgtbU=
X-Received: by 2002:a05:6820:549:b0:602:5856:255c with SMTP id
006d021491bc7-6045cada401mr323134eaf.8.1744147614382; Tue, 08 Apr 2025
14:26:54 -0700 (PDT)
MIME-Version: 1.0
References: <a240f661-68a3-4d99-9b90-05f59f0c5c5a AT acm DOT org>
<f4f3fd45-8ede-49cf-b879-5e2fef733e74 AT towo DOT net>
In-Reply-To: <f4f3fd45-8ede-49cf-b879-5e2fef733e74@towo.net>
Date: Tue, 8 Apr 2025 23:26:00 +0200
X-Gm-Features: ATxdqUFe5gTIsgp3sHayrPG2v-l8cEwEVQlmk56vfBOWqSeHsFoyicdXP8mxGZo
Message-ID: <CAAvCNcBb5P_fE1c3TrGu284sUeYA95Oqyb_oLioC26kiUq3Kyg@mail.gmail.com>
Subject: Re: Mounted shares not visible in bash "Run as Administrator"
To: cygwin AT cygwin DOT 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-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>

On Tue, 8 Apr 2025 at 08:37, Thomas Wolff via Cygwin <cygwin AT cygwin DOT com> wrote:
>
>
>
> Am 08.04.2025 um 03:04 schrieb Jim Garrison via Cygwin:
> > I just ran across this today.  In a normal session all my remote
> > mounts (NTFS, file server running Win10) are visible.  In a session
> > that is "Run as administrator", none of the mounts are visible.
> >
> > Is there a configuration parameter that would make mounts visible in
> > the administrator session?  My Google-fu must be off today because I
> > can't seem to find any references to this "issue".
> >
> It's a Windows paradigm. Admin mounts are distinct from user mounts (and
> those from each other).
> Just mount again as admin.

I think if you are the same user but different Logon ID, then you are
not seeing mounts from the other Logon ID.

The only mounts visible to all users must be mounted by user SYSTEM.
You need PsExec from
https://learn.microsoft.com/en-us/sysinternals/downloads/psexec to run
mintty.exe as user SYSTEM. Then mount the SMB filesystem, and all
users can use it.

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