From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs 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 Organization: UCLA Computer Science Department Message-ID: References: <87zhd4mobx.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="38844"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 Cc: 39793@debbugs.gnu.org To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Feb 27 20:34:20 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j7OvL-000A06-Ke for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Feb 2020 20:34:19 +0100 Original-Received: from localhost ([::1]:37312 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7OvK-0000Zx-Ll for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Feb 2020 14:34:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46803) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j7Ov6-0000X3-0P for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2020 14:34:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j7Ov5-0006FZ-5Z for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2020 14:34:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54322) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j7Ov3-0006Et-Sz for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2020 14:34:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j7Ov3-0006LH-Qa for bug-gnu-emacs@gnu.org; Thu, 27 Feb 2020 14:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Feb 2020 19:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39793 X-GNU-PR-Package: emacs Original-Received: via spool by 39793-submit@debbugs.gnu.org id=B39793.158283200224313 (code B ref 39793); Thu, 27 Feb 2020 19:34:01 +0000 Original-Received: (at 39793) by debbugs.gnu.org; 27 Feb 2020 19:33:22 +0000 Original-Received: from localhost ([127.0.0.1]:60295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7OuP-0006K4-Ut for submit@debbugs.gnu.org; Thu, 27 Feb 2020 14:33:22 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:53424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j7OuO-0006Jn-E7 for 39793@debbugs.gnu.org; Thu, 27 Feb 2020 14:33:21 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 19B0816007E; Thu, 27 Feb 2020 11:33:14 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id RnOZjFrOOL6C; Thu, 27 Feb 2020 11:33:13 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 69335160087; Thu, 27 Feb 2020 11:33:13 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 3ZHihgbA8QzY; Thu, 27 Feb 2020 11:33:13 -0800 (PST) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 5296416007E; Thu, 27 Feb 2020 11:33:13 -0800 (PST) In-Reply-To: <87zhd4mobx.fsf@gmx.de> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:176541 Archived-At: 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.