bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#57536: 28.1; filenotify problems on macOS with symbolic links to dir


From: Eli Zaretskii
Subject: bug#57536: 28.1; filenotify problems on macOS with symbolic links to directories
Date: Sat, 17 Sep 2022 12:43:01 +0300

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]