From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#47625: 28.0.50; dired-do-symlink creates invalid symlinks when using Tramp Date: Tue, 06 Apr 2021 23:29:39 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5097"; mail-complaints-to="usenet@ciao.gmane.io" To: 47625@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Apr 06 22:30:13 2021 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 1lTsKy-0001Do-FY for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 22:30:12 +0200 Original-Received: from localhost ([::1]:45034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTsKx-0004Jq-A6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Apr 2021 16:30:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTsKo-0004HJ-U6 for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 16:30:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58534) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTsKo-0002Sp-Lu for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 16:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTsKo-0005qg-H3 for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 16:30:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Apr 2021 20:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47625 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.161774099122432 (code B ref -1); Tue, 06 Apr 2021 20:30:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 Apr 2021 20:29:51 +0000 Original-Received: from localhost ([127.0.0.1]:41847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTsKd-0005pk-GD for submit@debbugs.gnu.org; Tue, 06 Apr 2021 16:29:51 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTsKb-0005pb-J4 for submit@debbugs.gnu.org; Tue, 06 Apr 2021 16:29:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTsKb-00046J-BG for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 16:29:49 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:36547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTsKX-0002HY-65 for bug-gnu-emacs@gnu.org; Tue, 06 Apr 2021 16:29:49 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 464D75C01DD for ; Tue, 6 Apr 2021 16:29:42 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 06 Apr 2021 16:29:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:subject:date:message-id:mime-version:content-type; s= fm2; bh=Cl+JzmwbDl9d1+01GDhjGlxFQ+BGkDz88Hh0StUXtTs=; b=fsOl+8Wu BnaExTZz7vql+PBKyAhldZyUuQM0e4wQZFKb7snlI4OO/Sl9IrrhikY+pyLv8s0X /9CLlGzaY6cJSGwIs/AGIBktqcVDxmoqyL40JxgbYoE5pkbMIlGAE03A6hStqP3o w/zy0yVcmVJSLnI3NxG4aZsXJT7SpMully1/3RqYr8rqSokI9NmoSXAXlFdTW4r7 sczFeOOIRbRKu9x4N6eaxhX+fuJxWR4YCaL1ve69ZBTe7LTRBxvLpM5skFdSd9yL 95gQiaGI5ZP53gObkOvUbbYVTfIJ4E84us5/aq+jmWNs8vrSpI3SrH0zzl0mpyHI qbN3bXcbA3A/ng== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=Cl+JzmwbDl9d1+01GDhjGlxFQ+BGk Dz88Hh0StUXtTs=; b=lqX2dF6HDUfs9u8FmUYG6696uFyuB9K5/QJXZoJrxxDWM X+MDPccMtjR+kQUvs26mC5XMWxGbcC/VH3iAXG9uEICLSNYcw6VlCIvzTMPOz+PO JLldgMw/ShtcEY8INxSZz/uyUwt2NZ6sRt9DXGJd+XGKJjzukpDEjWmgOSc5IPva nmedNPzrqC4ZSw5KE1jmXdoO2EezKeP3w0mzSi+WYxNfG6kMpssO46LSAryrBlb2 /vY8PiT/e5TIfPiVTItsNtFspOGDYCsL4mJVeS+fdx9WHC3WiitGxBEwIKJSFtz1 nyv1XieiiC9v+akMV9xtWLHvYrRMLGKOuRe+Xj5aw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudejhedgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkgggtsehttdertddttd dtnecuhfhrohhmpefhihhlihhpphcuifhunhgsihhnuceofhhguhhnsghinhesfhgrshht mhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhepvdegieffgfeuuefgueeiheeufeeigf evvedvgeevleeluefgjefhjefgvefhtedunecukfhppeekgedrvddtgedrudelfedruddt ieenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehfgh hunhgsihhnsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: from fgunbin.local (unknown [84.204.193.106]) by mail.messagingengine.com (Postfix) with ESMTPA id DA1E724005B for ; Tue, 6 Apr 2021 16:29:41 -0400 (EDT) Mail-Followup-To: bug-gnu-emacs@gnu.org Received-SPF: pass client-ip=66.111.4.27; envelope-from=fgunbin@fastmail.fm; helo=out3-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:203650 Archived-At: emacs -Q open dired at /sudo::/tmp/ M-! touch foo S (dired-do-symlink) on foo, enter /tmp/bar (without tramp prefix) at the prompt g (refresh dired) The result is "bar -> /sudo:root@fgunbin.local:/tmp/foo", which is an invalid symlink. In GNU Emacs 28.0.50 (build 8, x86_64-apple-darwin20.3.0, NS appkit-2022.30 Version 11.2.1 (Build 20D74)) of 2021-04-05 built on fgunbin.local Repository revision: 257caab1d0bea17fb9bfb5a9e2c782cf96a7d052 Repository branch: master System Description: macOS 11.2.3