From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by sourceware.org (Postfix) with ESMTPS id D940C384AB7E for ; Fri, 19 Apr 2024 14:46:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D940C384AB7E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D940C384AB7E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::1030 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713537970; cv=none; b=io9ChzsK2RmfdAJoHc6odWIe3yXhTxgspjDUbzwzgyJbKv8cq4GyGlXTHAAUqqGAfVuKPbnjWTI4ii4X7bxEgBmmSh30/v2cUTS9IPOUoF5WvtLz1dxL5gEm9zxbka5HUydpTd3AO20QaxHwsYoHV+MEncbyZh4IMontqWGwWy8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713537970; c=relaxed/simple; bh=n3N+tFFVZcZBSSVbD8w4Nunc0ossGtJUBnJRcsCc3E8=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=ftw9nxSEgvSfeJyHrfVqMYM9gFG+6ORZLt9Imiyd/dyheOVvPpPEhandNNOn428tthAND4LlleqwCQNEF+ZocGWp8NUqoEbkSa02SP1+09DHioY3mJ7kGrg22cxUKE8Ypu8H3SO9InczU/fJPgA4WF4ZgVPBzVIwScq97dh6dJg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-2a6fa7773d3so1769108a91.3 for ; Fri, 19 Apr 2024 07:46:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713537966; x=1714142766; darn=cygwin.com; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=n3N+tFFVZcZBSSVbD8w4Nunc0ossGtJUBnJRcsCc3E8=; b=bPjhwUcp4EjlyHyFRUid1IK8ppniLQ1Qe6bLbgh4SkjALohKXAAmMkugskyY06xYpX y3JqrkOdZZnoW700J73m2oevPqNnNQN7ocq74W4mCpFN3CbDUgpPpJLTtf4gb1cTd4xs kzaQ6SJer9HbCHln6OcWyb+YHPEe1VoVo5X+a0uAl0BxDy1k7oM6jDbwuFtnECL0+ijR YawXM3ylfN3Y0J781MwhPRSW/hDdMuFz5VORqzfVMV/O3Q1x8XGYnIDf3V4m3YSkomDz qo1g5Y3lOYxWkw+b7CTGKoi6zfZ0gqiezRfuAhizYJB2bT84MN9fJYtCsosZdr05per6 9d8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713537966; x=1714142766; 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=n3N+tFFVZcZBSSVbD8w4Nunc0ossGtJUBnJRcsCc3E8=; b=V4OYoeTuTecUse7R3HIufYM/emJH74usIuIdx+54+f2gr5BpBCqXpmWVVkH9LhQawL Dgm/PVf2ZZ4rJrD8NHyucD45SFd4U3RYJJ4x8gqeLnXWH4SPR5WXxVMlKX8rEcA8+cZg ndjIX2u4xCMlepP9CnPgq+CpeMbryPs1rfx0o1gzsKszmcp7r2Q330HdUwv5yhQvNtoO 22PZhYIKPFDLrKYQuegSxyHkk94Cm1I3PUTA3rUVZcI4NCO65lid0ioFrOoTItBHdnbC D6HNGY77gK8nCfHbPAGYxu+Mq0gNN43yfdajX0UE4hxURtD8KTx1ip9xOwBActjuvdW9 PzrQ== X-Gm-Message-State: AOJu0Yxrdbm7LYqdxzTKtk/0DQaZgx9tFhkAbelHsYp3XJiDZYn5YKXM bRcoZLPMVpd7oaIw9umjL0FCxtqjOqBvMitctLApaPD8U9g1dztJuwK8t5E5apR1ZAtfNxv93QQ D8f0TW2IzycmNuS5oURVLbpg/qnzgkA== X-Google-Smtp-Source: AGHT+IH5q5bgz4XK27GAPayK0RaJNg5fzR3MJlDA0ax0meO3a21MtQKcpdZC2+BqXtpS4UQm2OV1pgl/TSq6LGgyPHc= X-Received: by 2002:a17:90a:c486:b0:2a8:30a6:be3c with SMTP id j6-20020a17090ac48600b002a830a6be3cmr2267431pjt.43.1713537966241; Fri, 19 Apr 2024 07:46:06 -0700 (PDT) MIME-Version: 1.0 References: <297943415.20240418002244@yandex.ru> <1821783394.20240418194147@yandex.ru> In-Reply-To: <1821783394.20240418194147@yandex.ru> From: J M Date: Fri, 19 Apr 2024 16:45:54 +0200 Message-ID: Subject: Re: See repeated /usr/bin in my path To: cygwin@cygwin.com Content-Type: multipart/alternative; boundary="000000000000c983bc0616742599" X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,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 List-Id: --000000000000c983bc0616742599 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El jue., 18 abr. 2024 18:50, Andrey Repin escribi=C3= =B3: > Greetings, J M! > > > Isn't it better that original_path be removed all startwith > > $mycygwin_homepath? > > $original_path is stored once when you first run Cygwin with empty home > profile, IIRC. And not used anywhere. > , > > You have this scriptlet, but if you need all to work with all Linux > > distributions you need yo add unnecessary work, multiple code and cases > for > > all, and complicate all. > > It's in ~/.bashrc.d/. And not copied over to *NIX systems. > > P.S. > Please do not top-post in this list. > > > -- > With best regards, > Andrey Repin > Thursday, April 18, 2024 19:39:05 > > Sorry for my terrible english... > Thank you Andrew, I didn't know the meaning of top-posting, using gmail puts you at the beginning. And my english is very poor, I'm spanish. Then, over this problem, its a pretty form to change the behaviour of Cygwin from outside, simply setting the path cygwin64... the way you want. Its a side effect... Appart of failed scripts, and I'm not in the security branches, its a pretty form to inyect things to change behavihours. I recommend to disable or erase all paths that refer to C:\cygwin64 or root path. For reference, here https://gist.github.com/mpicker0/a6a3f10e6b9278074f93, show the use of Windows environment variable C:\cygwin64\bin. Regards --000000000000c983bc0616742599--