X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF57F3849AE8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1713537988; bh=rpVWTRAWCtMF3gocgWMY1BcjwTOEilMIEOLNW4wYVN4=; 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=NyvT7SsVBt+mB7GD31bHfyxLPyxoCGoLIxkEjyFgSQdzbMSWmDiTtG5jOm13+/tZj CY6uEfOp/B12z7BMGUCfU/F8yjmOr3cZNlDvj7judg3dKIhkI28K3ZudyFy+aAEEZG GMBRTqZ7Q2OGAYPpl6FTPhqB9xEIMrIFjuIbx1gU= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D940C384AB7E ARC-Filter: OpenARC Filter v1.0.0 sourceware.org D940C384AB7E 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 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 DOT 20240418002244 AT yandex DOT ru> <1821783394 DOT 20240418194147 AT yandex DOT ru> In-Reply-To: <1821783394.20240418194147@yandex.ru> Date: Fri, 19 Apr 2024 16:45:54 +0200 Message-ID: Subject: Re: See repeated /usr/bin in my path To: cygwin AT cygwin DOT com 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 X-Content-Filtered-By: Mailman/MimeDel 2.1.30 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: J M via Cygwin Reply-To: J M Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 43JEkUJP3947547 El jue., 18 abr. 2024 18:50, Andrey Repin escribió: > 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 -- 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