From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x132.google.com (mail-lf1-x132.google.com [IPv6:2a00:1450:4864:20::132]) by sourceware.org (Postfix) with ESMTPS id 0D2E6384B823 for ; Thu, 14 Jan 2021 00:10:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0D2E6384B823 Received: by mail-lf1-x132.google.com with SMTP id v67so5476167lfa.0 for ; Wed, 13 Jan 2021 16:10:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=7MUJ0TH7muw1pLUSzUptfEH14O0bVb1jVUZZp+VLgeU=; b=TBpCSxk0t9svwhmwPUcCp44n5NLDD0jqQJuPpSdEzVmAlmZfraLyNqUxwxDwWJcEtd rXtBciUwS0PFVkh/kxhItayzZy79kgnlu2dQqwZk7MvamMph4HSCEZ143CEVl8G+ujdU k/c0Lmq1WaYvCYEZr71vlJOfrHFBTGM1C/JuiOVe1mAaIC9e+YIdJ0FKntyUyb1MaM0s UAEMOurZxOEUAvogqt/iHTxceWKXPuv7sMdr1u2bQfbh4Bc0gzHlP01mjDuoOL0F/ySk z7UtNgkPeMjzQG6XhkuHScjK0GOIglipCFNLGyDt3e0AQr7pmabJEprdn8jX4HCVyT3F gknQ== X-Gm-Message-State: AOAM533I6LGe3P4VfzIW44f4rU3TLu0OW/BWRN7Nn2K13n65rlUiBAxm NpsJBjPlgge8BsZTGfM72aVj0XtlV9GhFLqu/kkEPkWkoLC41g== X-Google-Smtp-Source: ABdhPJz8crKPqeIrbMf357AK5kX8/9O92MF+esrJaEfxwAHT8z72QVMvOviQr+ZcWnODrqyR5OEkKsx9a5Ss7WNlYU0= X-Received: by 2002:a19:5d42:: with SMTP id p2mr2005817lfj.308.1610583005430; Wed, 13 Jan 2021 16:10:05 -0800 (PST) MIME-Version: 1.0 References: <1d853aa0-4cbe-b92c-8d9f-53fc72371a7b@SystematicSw.ab.ca> <2f9a63f8-37e3-5ea0-1541-608cf59faffa@cs.umass.edu> <89f9e340-367f-e2c0-18da-d433379c0c9b@secure-endpoints.com> <251301264.20210113011803@yandex.ru> In-Reply-To: <251301264.20210113011803@yandex.ru> From: "Matt D." Date: Wed, 13 Jan 2021 19:09:54 -0500 Message-ID: Subject: Re: Native symbolic link behavior is broken and makes backups using Cygwin command line tools impossible To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2021 00:10:09 -0000 On Tue, Jan 12, 2021 at 5:20 PM Andrey Repin wrote: > > Again, the properties are read BY SYSTEM at the moment the link is created. > In other words, Windows is unable to create a link to nonexistent > (unreachable) target (not directly, at least). This is false. Links can be created arbitrarily both at the Windows command line using MKLINK and programmatically with the CreateSymbolicLink function. The information about what type of link to make during a copy operation can be read from the link being copied. The target does not have to exist for a link to be created.