From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#38404: 27.0.50; deleting files with ~ on the end with tramp did not work Date: Thu, 28 Nov 2019 13:00:23 +0100 Message-ID: <87fti8qkh4.fsf@gmx.de> References: <20191127163909.GA7483@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="197203"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 38404@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 28 13:03:19 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iaIVy-000p36-0b for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Nov 2019 13:03:18 +0100 Original-Received: from localhost ([::1]:48260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaIVw-0002QW-JH for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Nov 2019 07:03:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58450) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iaIUr-0001gb-Fb for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 07:02:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iaIUl-0006kL-TQ for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 07:02:09 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50805) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iaIUk-0006hC-3y for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 07:02:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iaIUk-0005KD-1t for bug-gnu-emacs@gnu.org; Thu, 28 Nov 2019 07:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Nov 2019 12:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38404 X-GNU-PR-Package: emacs Original-Received: via spool by 38404-submit@debbugs.gnu.org id=B38404.157494246720388 (code B ref 38404); Thu, 28 Nov 2019 12:02:02 +0000 Original-Received: (at 38404) by debbugs.gnu.org; 28 Nov 2019 12:01:07 +0000 Original-Received: from localhost ([127.0.0.1]:56778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaITr-0005Il-0s for submit@debbugs.gnu.org; Thu, 28 Nov 2019 07:01:07 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:60307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iaITm-0005I7-10 for 38404@debbugs.gnu.org; Thu, 28 Nov 2019 07:01:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1574942424; bh=8Qk4aKhlK5irk2EP+j0LRNtdAHKCjFaCRVsdHOu9VwU=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=e7Kpq4ouqdzaKLACENp8IvyMVXqk88p2CRse+BoqH45joUvb0k/ZArUCz0IqFl/TT w5Nq2F0fOr6ngza4KqtSfI72dRHyDNDjpjOq4XwRMseZ6Mea3/VogOcNtVCpzZBqZi YmoiE3pOd7pXHcxBcbupM3YjR6iNBSrzA/lJZR0Q= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from detlef.gmx.de ([213.220.146.9]) by mail.gmx.com (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N5GE1-1hqolZ38OD-011Bjy; Thu, 28 Nov 2019 13:00:24 +0100 In-Reply-To: <20191127163909.GA7483@protected.rcdrun.com> (Jean Louis's message of "Wed, 27 Nov 2019 17:39:09 +0100") X-Provags-ID: V03:K1:j7YRxe0FZQwKadI0G90dkzPq6K2JSpshI2rFysPMkZ+uGCHtsEk nV+AlOEcW+MjZnT+ADFYVQP7wHjPWf53v7g3aTc9aNfwYfljQEETMkM+1bQ14NuD8UzecxW k5qJSs/frer5knMB/pI0ckx1GRyMpX6mDBj/egFi0z/iG2GytCXUZHcTRSqY6vjTD7ei1IS CWxnBDbhixn+Czv0OLNkQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:wxUkmKr6GfA=:ZE4RNzlJMOz9RyRIXnn9XB wHDVgaEmVV9+s/JeiPkDurqu0cvn6f8pnqejSjyjcHzZi0KeqHWbGSOzVy5U9g4Y9P5Q5cxKU ILDWPy6ZsqB4NDzYjmiHlqBVgXPXWpYbbiQ/YuHopCPXi5yXuonFPq7YiWiBY+tzZrdEdEZxB 8iJry2hRT8dQE0PSUSGTOCkRg8iS2yFVR9SbpITDWmPYP507fZTwjZZe00P2FMrffDd7ybIcY 8g7wC+hq9oYs/yFfZJC2i8GSrk3t4JRUektUFWQhAGzZZz+DDgADk1JB9sKeUDuy0ZZBQFF0Y d+HoIbrIlaKzbe536PX0Y+xO7fQOY5BO9jg0ysu33GdKOcWz1KxcCRFtjlQe1xpyvVfYlIJLs /+KNWoIWeDCwG5dm5a5C8s3KIMGJOnIqyJ4XBxTko4sGldXuJRO22Mjkf/eq5hVvDMwZ4i12m E7XvNIx6OX0EvfkEvKqQa8pQSNqw0N9HO3UhZgjuMsFdwsbNa0FWikTf7Oj9Bl55SVc9816FR RwLjg9F/T0qS0zA46ybF4sSmzmLoo5b5Z1P50EzqIuDr9zEEMDhBdub67IVCvYIliPjRSTWsZ eHpcS+wXnohBpz26Pz70EsVWdSBx/2wYvvlCShXSkqok6P47zAQgogol+5duMyxPgghUtNw4z oyaTsbMiqs30zhbaST+oSMvyi1DsPLqWLhJjCow9Ae4AVe6C1d+MLA8KjujIIvN5C/Y0pIMl8 A6+TQGThsUcLU8jibXSj+MppkJ1UAUA405EuQEKfZ/ux/mPTKIuh0sbYEGc0VqukRBduK8Cr 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:172593 Archived-At: Jean Louis writes: Hi, > Deleting file /etc/courier/aliases/20191810~ did not work inside of > Tramp, there was "permission denied". But other files could be > deleted. I was root at the time and I could delete any file. When I > entered with ssh to system as root I could delete the file. With Tramp > it did not work. I cannot repoduce it: --8<---------------cut here---------------start------------->8--- # sudo touch /etc/touch~ # sudo ls -l /etc/touch~ -rw-r--r-- 1 root root 0 Nov 28 12:54 /etc/touch~ # emacs -Q --batch --eval '(delete-file "/ssh:|sudo::/etc/touch~")' Password for /sudo:root@host: ******** # sudo ls -l /etc/touch~ ls: cannot access '/etc/touch~': No such file or directory --8<---------------cut here---------------end--------------->8--- Does the problem also happen for you if you start "emacs -Q"? If yes, could you pls reproduce it step by step, and show those steps? Pls set also tramp-verbose to 6, andd show the resulting Tramp debug buffer. Best regards, Michael.