delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/21/16:17:17

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C242385C413
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1629577035;
bh=M/DpeX1MPK6AvKArc4C/o6OwUvRO25PBek4I9zg0pRk=;
h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=ZEZH5PNs0Z4tfemrdm+N4rI//MaLBN0lF7zuh6MUJ1vuABMsih0By8KHpIPId2muR
dT7HH0YOL7SRAhDiE+8wHZoIVmNyXLLNZTDYV7r515exf7Rtyi4lZhvawjTseh6HGB
+GeeOp/wn9qek2vcQb/ifaheZDIomZZrngw3g9YI=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1C4BA3858417
IronPort-SDR: Vmacg4/qNsmdykdV/RiS1aJ2UrAkliTkGQKZXM4ehuRYg73sBxUkRL5R1yFn+VfLQ97T1bZPWf
m8tsvcZg89rA==
X-SBRS-Extended: Low
X-IronPortListener: ces-out
X-IronPort-AV: E=Sophos;i="5.84,340,1620705600"; d="scan'208";a="261843718"
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=WnqdTlGE5Z49tdTx3GW28hOoD4Ds7vUulP82QBLJzrIRio3ecNMB04Dy/4uGceWjmLO5RsBB93DftU4bDghqJDBj0xkxO/oMocDpLJOuovxfibSoH+PGDnfzAxw22FaINKOf3x8hOUcNhLjifYKARtJLNpI/AY+NFE8cYYBanibw6eJtZbTdEzWDeubHVTxGj54EdXOqLNHZVq5f2bLdpYdtKI3EMZsvpVX/fN3YkE10LEAR4lj5mbpxWFSCnlBMwn3z1FHWAx6s7k+VYjPfC+tHLxTNhzpQrgL6z02ohIjbNuVOOsSR8BL0PyACiHe3o9DTQlUyUEl/6f3ic1QlKQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=GpSQL6oXJBzHGl5Th57XijPokqEywojw9ZZLSzBkBj4=;
b=D9X1irOPHoex05XrhvawzxUOEU66dkEAtq5D6kLUPRct3jYrog3Z1gklIl4lbz5FWNV87IeoJBvbBegeaXRnCMMSbelauveFmspxUTZkz3jmjymsLNiQrlc6DgGrh+SmikksylmTfc/iAVNUaPZTfoMlMvT36H47n7myk1tSs+ynGV8HlY4O7bMUqRwLuHyX4MOQJFDtsGpEdxruKBveodsFeGLgKFoEXlZw4hyOZ/INzwFzwVhvKQgI0rAir6FH+2v3xzZmmnZIOPOMVWN6LNZY/oLkweDwepCR7sExQFniuRHp8sUC4SUvR1GKj2GuR3BMw2xZMDrsgs0PZrCcIA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=ncbi.nlm.nih.gov; dmarc=pass action=none
header.from=ncbi.nlm.nih.gov; dkim=pass header.d=ncbi.nlm.nih.gov; arc=none
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Symlink issue?
Thread-Topic: Symlink issue?
Thread-Index: AdeWyS69ENmxj1MqRQGOdKF5dbnCVw==
Date: Sat, 21 Aug 2021 20:15:48 +0000
Message-ID: <DM8PR09MB7095D974DB3B0E50CDB008FAA5C29@DM8PR09MB7095.namprd09.prod.outlook.com>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 6ef3b4d8-402c-4a98-40df-08d964e07790
x-ms-traffictypediagnostic: DM6PR09MB5576:
x-microsoft-antispam-prvs: <DM6PR09MB5576BBF61A1DD03291A52857A5C29 AT DM6PR09MB5576 DOT namprd09 DOT prod DOT outlook DOT com>
x-ms-oob-tlc-oobclassifiers: OLM:7219;
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: nCeVUje52uZFbqDMuVdVj/tHA2PoiNdWujBl41HReSLZ3Is3UHRqmgZBspoqFO+3GGCBhkUMkNzEWHvFqF9S6/1AaEkITnHtWnrN0SEMHiXdpF9RNBQJl9mO/QvUDh+KwPVal5raGm+wnL8qYZq+PtYxXd5WLshnB+scN8lZ8jzdUwLHOleOxhB/9ufGbqYRGs+R0tsp3n/B/e7HdwekgfvQl0fm1T1hRHblP8ohpTeJ/OOaBDZUoI+0+sWZHLBi/EDyDwwf+COQ1UrDB7aMce4SoyXPi0nCsq6tm2EieoaSK8OdiS8K63fQ+4p/ygQvFzlKm1U0ZjEa6nstWNKs4tQJEGx1iqk/OcsiAhA5w27pG4I7G7G94R1aNxfecLrJ0yNgTvOmkl0wTuavnJlGCQ05ngFXfmE95VIAba1SpZkz4poMfqw048N5ELVOEKuFxyVcBj/g64y5oDjnERm6/HKrcOmJNBIa6ynIaL8zKws9ca/GiL9bi/Y2vb7tNlzSpbC1NywLJh3NawcUDZkI9YiU8SuJxbzdWgA0oZm29PD+Sn/dWcyU5vWT3/kuUK/09Fehf1yAhFGHQ4FcB8ZsJ2KG9f96zWADjnEYsJRUM8GQWuFd/mDyw0zRjGps0BQIWVTy/dl/4SvjSL9zHOfx/BDZvY9jjA4MLfAw5p2YO40Pl0nIF3n+u5ladZXXeD5hpEBgppJ+BrfJi0Lw5ohhN6HFgFbX5xxhcO5fjtsQ1is=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:DM8PR09MB7095.namprd09.prod.outlook.com; PTR:; CAT:NONE;
SFS:(4636009)(39860400002)(376002)(366004)(396003)(136003)(346002)(38070700005)(83380400001)(8936002)(7696005)(186003)(9686003)(6916009)(3480700007)(26005)(38100700002)(52536014)(122000001)(33656002)(5660300002)(71200400001)(478600001)(66476007)(316002)(66446008)(76116006)(64756008)(55016002)(66946007)(7116003)(86362001)(2906002)(6506007)(8676002)(66556008)(4744005)(491001);
DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?du89JdSwfHvpDNeLow84vIFomGCQb0CIiHAvPLVCrU5E9xg8J0ad3KAmyeqs?=
=?us-ascii?Q?RIVNIbFmTbQ0SEi4atIezE6FfDzDs0s9g8iTv4EhnrmcGNCYhlcc1FNvhHC6?=
=?us-ascii?Q?RDJ7r3225+hI0OGXiAAcKrDzvh+/wJtuY3YhPs3dyZ/59naaYpeuXA/eQ6St?=
=?us-ascii?Q?vstoyMw7KdsVtxaOUKHMhcIOU102DOhxWOKGPZGCDsl9TkLD6fTo5Q8g2RXd?=
=?us-ascii?Q?lbFNovztINKEXH05Mp4T3llQuu/foMTV7DQcLdxAQxGKEfxyLDnZCq2QqfYL?=
=?us-ascii?Q?dX8SuANBkd/qD0WMHMJcJgz++Wq43TvreVctYLwEwGfovKnL0IQreo5dw5yf?=
=?us-ascii?Q?hdYog35iI/9opuPl+vUI24kFsSSq8e7UXExRRPFIrREHQyLH6lzzmyagCSBf?=
=?us-ascii?Q?G4ByJKNnBApuXtgh9bbAP9A5Zal11Qy5wPqJkDDju0lj9yyD10WdkCKU3Ga5?=
=?us-ascii?Q?TLWYu3qehiE/m7gv/mut5baeOwBj2b1qqn9byPVvGJ9ZKRbw6Sc6phuEEhAL?=
=?us-ascii?Q?xaMZcZYlKtK29RH8Q5/DouEUfB8c/Twt/qITDM+I39faN1ipJPxbTWPk/QNT?=
=?us-ascii?Q?prfNa2t1p1AIIoNp+E7pihpEqiKtpaVTOUx9tRzRW+CCMvj5hK3TV0XCnYy0?=
=?us-ascii?Q?7xaHhO+UuXePo65TKWsmRbypxRSTLWpF8GQyFAUl+4qUlgpY1xzC9YKJtoD5?=
=?us-ascii?Q?UfwCIC/bkeOZjARimfzkVg1vpJw25VoAjDZYlnfgnB//hFilII3OZN3xi8Ky?=
=?us-ascii?Q?7GP2GZIYgw+Cq8B9okWEef+GuN2vOQMHdPcnmkbVyE0nltFXx/XxANgYPkQS?=
=?us-ascii?Q?KHAo1Q2972mEb/ROifV6VuaiXAiqRwHrRgtauFqGCkqMju2j5MVTcbuF5hhs?=
=?us-ascii?Q?InIWG1i8FX6uG9oM5JpoiwtcNWrx+KVACXpjBJyJ//iWMKrTKi1XrH/OPxUj?=
=?us-ascii?Q?PGYPNGG1M6jueZbpvMRo1lJjjHOo1Nl3+6JELria9hloCqVb757YbI+6HAkL?=
=?us-ascii?Q?6q85CpVpWvUDPPeIVy09O0Gij4+hxLRt+57si1DMkybmjn2HM4xLPUe5+HvT?=
=?us-ascii?Q?LuYd2q0mhSUDqm9+KuTWxL0uVijXdEqLkuxChm1Ys7COBhFCavZtVM8R2XUE?=
=?us-ascii?Q?UyNFi3OlT+XHqHV4tRpeC4H8g4PcAuUdrLBHDZriAm7aOMFGYArhkFKS3NlA?=
=?us-ascii?Q?KjumaZgefx2F6o87wwvE2LF8udLqnH4r6/izThw47+eToPCVKxZcL7KRTncy?=
=?us-ascii?Q?YMDPMR2grAjA/7qbUKWOBQPDogEuCo2LjfxDEmhcqMiAlN3hpDCCxRwvrinB?=
=?us-ascii?Q?3es=3D?=
x-ms-exchange-transport-forked: True
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM8PR09MB7095.namprd09.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 6ef3b4d8-402c-4a98-40df-08d964e07790
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Aug 2021 20:15:48.9377 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 14b77578-9773-42d5-8507-251ca2dc2b06
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR09MB5576
X-OriginatorOrg: ncbi.nlm.nih.gov
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_EF, SPF_PASS, TXREP,
T_SPF_HELO_PERMERROR autolearn=ham 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>
From: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\] via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\]" <lavr AT ncbi DOT nlm DOT nih DOT gov>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

Hi,

Please consider the following Cygwin session:

$ cd ~
$ pwd
/home/user
$ touch file
$ ls file
file
$ cygpath -w ~
C:\cygwin64\home\user
$ mkdir /cygdrive/g/cygwin/dir
$ ln -s /cygdrive/g/cygwin/dir ./dir
$ ls -l dir
... dir -> /cygdrive/g/cygwin/dir/
$ cd dir
$ pwd
/home/user/dir
$ cygpath -w `pwd`
G:\cygwin\dir
$ ls -l ../fil<TAB>  (this expands to ../file but when Enter is hit):
ls: cannot access '../file': No such file or directory

so basically "file" is not accessible with the relative dot-dot link,
even though somehow readline (bash completion) can figure it out and suggest
the correct completion.

Is this a Cygwin bug?

I'm using:
$ uname -a
CYGWIN_NT-6.1 XXXXX 3.2.0(0.340/5/3) 2021-03-29 08:42 x86_64 Cygwin

Cheers,

Anton Lavrentiev
Contractor NIH/NLM/NCBI


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