From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57536: 28.1; filenotify problems on macOS with symbolic links to directories Date: Sat, 17 Sep 2022 12:43:01 +0300 Message-ID: <83pmfu1gm2.fsf@gnu.org> References: <890113EA-44AF-42FB-87AF-130D7AB164AD@easesoftware.com> <83edwuqome.fsf@gnu.org> <87h71nbc2v.fsf@gmx.de> <83mtbfl1z5.fsf@gnu.org> <87czcbb4gh.fsf@gmx.de> <83leqzkxdi.fsf@gnu.org> <875yhnz6e1.fsf@gmx.de> <83pmfv2tzi.fsf@gnu.org> <87wna3xoi9.fsf@gmx.de> <874jx6xtja.fsf@gmx.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32665"; mail-complaints-to="usenet@ciao.gmane.io" Cc: pedz@easesoftware.com, 57536@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 17 11:44:11 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oZUMt-0008Np-7R for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 11:44:11 +0200 Original-Received: from localhost ([::1]:33934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZUMs-0006t1-7u for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 05:44:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57350) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZUMk-0006sk-HY for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 05:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZUMk-0007j6-9U for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 05:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZUMk-00031G-5d for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 05:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2022 09:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57536 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57536-submit@debbugs.gnu.org id=B57536.166340779311538 (code B ref 57536); Sat, 17 Sep 2022 09:44:02 +0000 Original-Received: (at 57536) by debbugs.gnu.org; 17 Sep 2022 09:43:13 +0000 Original-Received: from localhost ([127.0.0.1]:45206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZULw-000300-LX for submit@debbugs.gnu.org; Sat, 17 Sep 2022 05:43:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZULu-0002zo-FQ for 57536@debbugs.gnu.org; Sat, 17 Sep 2022 05:43:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52126) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZULm-0007Zn-9r; Sat, 17 Sep 2022 05:43:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Rl4bu55oLqW+cmLeN4v93KlmY45nNwK7ZkgiFXoK1aU=; b=KTclYLSQifPp e9I5PqujbpimJ+b0JCsGxEJeJydrRJd9L+59fsWV5ShwYNVaZVWgRXYsO6mGlfuUYsqRDvktKHQp8 VNxoE9kn7eFtBJ9uArBZpFsakEDZLoyF01BlXP5AeVStYJRCmL8UKEhbe6i1rpwTfSjU7h8yMTwHC 1qMimiG3wycz8JD7B8oLg5ExvYmM1443n5FOBSXPeAzk77hx3TFMUhkEPsp5mJzFFjsng18gHH+14 vLxDxGxbUqzMYiqTUfrGiP0+v1jx7ARMEOKrlGRWwlXGNvEVTMhOEJumGmbdwTqkCTOpH7w4+3wkX PzVkAykdqxCZX3gX7VCuQw==; Original-Received: from [87.69.77.57] (port=1156 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZULl-0002X0-PZ; Sat, 17 Sep 2022 05:43:02 -0400 In-Reply-To: <874jx6xtja.fsf@gmx.de> (message from Michael Albinus on Sat, 17 Sep 2022 11:02:49 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:242857 Archived-At: > From: Michael Albinus > Cc: pedz@easesoftware.com, 57536@debbugs.gnu.org > Date: Sat, 17 Sep 2022 11:02:49 +0200 > > >> Would someone else please see if the new test works on MS-Windows? > > > > Hmm. Somewhere, I have a Windows 10 VM lying around. Perhaps I can > > convince it to support symlinks in Emacs, and test then. > > Well, the test fails with > > --8<---------------cut here---------------start------------->8--- > Test file-notify-test11-symlinks condition: > (file-error "Making symbolic link" "Operation not permitted" "c:/Users/albinus/AppData/Local/Temp/file-notify-testQ4fWLh/file-notify-testoFYuvn" "c:/Users/albinus/AppData/Local/Temp/file-notify-testQ4fWLh/file-notify-testLaRL78") > --8<---------------cut here---------------end--------------->8--- > > So a simple `make-symbolic-link' doesn't seem to work on MS > Windows. It should work if you give your user the privilege of creating symlinks. Alternatively, try running Emacs from a cmd.exe window that is "Run as Administrator". Creating symlinks is a privileged operation on MS-Windows (at least before Windows 11, where I hear that restriction was lifted?)