emacs-devel
[Top][All Lists]
Advanced

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

Re: Allowing symlinked dir-locals files?


From: Yuri D'Elia
Subject: Re: Allowing symlinked dir-locals files?
Date: Mon, 16 Aug 2021 20:25:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On Mon, Aug 16 2021, Eli Zaretskii wrote:
>> However I suspect that the rationale was to be proper as well as "safe",
>> as this could be used to make emacs read/interpret another file if the
>> symlink is under the control of a VCS or via a shared-filesystem.
>
> Yes.  It could also be a symlink injected by malevolent hackers.

Can we please benevolent hackers with a list or trusted directories? ;)

I don't recall where I saw this approach used before (maybe there's
already a variable for trusted paths), but I wouldn't mind explicitly
marking certain trees where symlinks are explicitly allowed.




reply via email to

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