unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Eggert <eggert@cs.ucla.edu>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 39793@debbugs.gnu.org
Subject: bug#39793: 28.0.50; set-file-modes nofollow does not work on mounted directories
Date: Thu, 27 Feb 2020 11:33:10 -0800	[thread overview]
Message-ID: <b792327c-f5cf-2ca8-5220-607ff39b20b6@cs.ucla.edu> (raw)
In-Reply-To: <87zhd4mobx.fsf@gmx.de>

On 2/27/20 12:22 AM, Michael Albinus wrote:
> But isn't there the general problem of mounted directories? I fear, that
> calling set-file-modes with nofollow over a symlink into a mounted
> directory would show the same error.

Yes, that would happen. But this issue is independent of whether the 
symlink points into a mounted directory because you'll get the same 
error with set-file-modes with nofollow on a symlink into the same 
directory. That's the point of nofollow: you don't want to follow the 
symlink.

The error that prompted this bug report is that I mistakenly added 
nofollow to a set-file-modes that was actually intended to follow a 
symlink, and my mistake was independent of whether the symlink points to 
a mounted directory.





  reply	other threads:[~2020-02-27 19:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-25 21:18 bug#39793: 28.0.50; set-file-modes nofollow does not work on mounted directories Michael Albinus
2020-02-27  1:13 ` Paul Eggert
2020-02-27  8:22   ` Michael Albinus
2020-02-27 19:33     ` Paul Eggert [this message]
2020-02-27 20:02       ` Michael Albinus

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=b792327c-f5cf-2ca8-5220-607ff39b20b6@cs.ucla.edu \
    --to=eggert@cs.ucla.edu \
    --cc=39793@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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).