GNU bug report logs - #28264
Accessing source directory through symlink produces false warnings

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Mon, 28 Aug 2017 18:26:01 UTC

Severity: normal

Found in version 26.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Glenn Morris <rgm <at> gnu.org>, 28264 <at> debbugs.gnu.org
Subject: bug#28264: Accessing source directory through symlink produces false warnings
Date: Tue, 29 Aug 2017 22:41:51 +0200
Paul Eggert <eggert <at> cs.ucla.edu> writes:

Hi Paul,

> Thanks for the bug report. I reproduced the problem and installed the
> attached patch to fix it. It strikes me, though, that the code still
> won't work in other cases (e.g., symlinks containing ":"), and that
> Emacs probably has other instances of confusion between how it treats
> symlinks and how the OS treats them. I'll CC: this to Michael to give
> him a heads-up about this particular issue, as I'm not really up to
> speed on magic file names.

This special problem does not seem to affect Tramp, tramp-tests tell.

However, the following code is unclear to me:

> +	(concat "/:" file))

What, if file is already quoted? Shouldn't this be

        (file-name-quote file)

Note, that a similar problem I have fixed some days ago in commit
cc7530cae0.

Best regards, Michael.




This bug report was last modified 7 years and 350 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.