delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/03/31/09:50:23

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C989D385843E
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=yandex.ru
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=yandex.ru
X-Yandex-Fwd: 2
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail;
t=1648734601; bh=VFVi1iF7xpYeyrKrMky/uFcnVCkNjvSzPlLyyC4F2go=;
h=Subject:To:From:Message-ID:Date:Reply-To;
b=QuMPfACtCjKP/setuZzla7iDF37UNXlv0NkBfV277THFGEZufb/S97A1HAFzewoOM
vByYk4Oz4sFfTWp9OarN7V1ouxyfe0CkHpO93c6J7UDHRbv3P6b0aTwxfzZxASauYy
v3vE5ZGDZ6R+ja/wYRcSvyn92f7cXzmAdpUfoqEg=
Authentication-Results: iva5-13ec62da2ad0.qloud-c.yandex.net;
dkim=pass header.i=@yandex.ru
Date: Thu, 31 Mar 2022 16:43:41 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
X-Mailer: The Bat! (v9.3.4) Professional
Message-ID: <19510489005.20220331164341@yandex.ru>
To: All <cygwin AT cygwin DOT com>
Subject: No errors when removing socket belonging to other user
MIME-Version: 1.0
X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT,
RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
XM_LIGHT_HEAVY autolearn=no autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>
Reply-To: cygwin AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, All!

I've had quite a situation today.
My machine joined company domain, and my user's credentials have changed.
However, new user retained local administrator access.
I've copied configuration and startup scripts from my old profile and suddenly
discovered that the script intended to start ssh-pageant hangs.
Much to my surprise, the hang occurred, when the script tried to remove old
socket in /var/run/.
icacls revealed that, indeed, the socket had only special access for "all" and
"system" users, and no access for local admin.
But shouldn't it report at least "access denied" in such case, and not simply
hang?

Trying to replicate the issue manually with a simple file failed so far.
Would use some help.


-- 
With best regards,
Andrey Repin
Thursday, March 31, 2022 16:20:55

Sorry for my terrible english...


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