From: Eli Zaretskii <eliz@gnu.org>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: pedz@easesoftware.com, 57536@debbugs.gnu.org
Subject: bug#57536: 28.1; filenotify problems on macOS with symbolic links to directories
Date: Sat, 17 Sep 2022 12:43:01 +0300 [thread overview]
Message-ID: <83pmfu1gm2.fsf@gnu.org> (raw)
In-Reply-To: <874jx6xtja.fsf@gmx.de> (message from Michael Albinus on Sat, 17 Sep 2022 11:02:49 +0200)
> From: Michael Albinus <michael.albinus@gmx.de>
> 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?)
next prev parent reply other threads:[~2022-09-17 9:43 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-01 23:34 bug#57536: 28.1; filenotify problems on macOS with symbolic links to directories Perry Smith
2022-09-02 6:25 ` Eli Zaretskii
2022-09-04 11:42 ` Michael Albinus
2022-09-04 13:10 ` Eli Zaretskii
2022-09-04 14:26 ` Michael Albinus
2022-09-04 14:49 ` Eli Zaretskii
2022-09-07 12:20 ` Eli Zaretskii
2022-09-07 15:57 ` Michael Albinus
2022-09-16 15:27 ` Michael Albinus
2022-09-16 15:56 ` Eli Zaretskii
2022-09-16 16:39 ` Michael Albinus
2022-09-17 9:02 ` Michael Albinus
2022-09-17 9:43 ` Eli Zaretskii [this message]
2022-09-17 13:16 ` Michael Albinus
2022-09-17 14:07 ` Eli Zaretskii
2022-09-17 15:03 ` Michael Albinus
2022-09-17 13:27 ` Michael Albinus
2022-09-17 13:53 ` Eli Zaretskii
2022-09-17 15:15 ` Michael Albinus
2022-09-17 15:37 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83pmfu1gm2.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=57536@debbugs.gnu.org \
--cc=michael.albinus@gmx.de \
--cc=pedz@easesoftware.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).