From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#47600: 28.0.50; dired: when moving to Trash: file-already-exists: File already exists: /home/data1/protected/tmp/Trash/profile.jpg Date: Mon, 05 Apr 2021 15:47:08 +0300 Message-ID: <83a6qcdhkj.fsf@gnu.org> References: <86ft05ur3i.fsf@protected.rcdrun.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25375"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 47600@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Apr 05 14:48:20 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 1lTOeQ-0006UU-GT for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Apr 2021 14:48:18 +0200 Original-Received: from localhost ([::1]:46486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTOeP-0000ib-Gd for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 05 Apr 2021 08:48:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40568) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTOeE-0000hb-Ku for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2021 08:48:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTOe9-0007EX-N9 for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2021 08:48:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lTOe9-0003D3-Lu for bug-gnu-emacs@gnu.org; Mon, 05 Apr 2021 08:48:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Apr 2021 12:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47600 X-GNU-PR-Package: emacs Original-Received: via spool by 47600-submit@debbugs.gnu.org id=B47600.161762684112282 (code B ref 47600); Mon, 05 Apr 2021 12:48:01 +0000 Original-Received: (at 47600) by debbugs.gnu.org; 5 Apr 2021 12:47:21 +0000 Original-Received: from localhost ([127.0.0.1]:37248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTOdU-0003C2-QY for submit@debbugs.gnu.org; Mon, 05 Apr 2021 08:47:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lTOdS-0003Bp-Ry for 47600@debbugs.gnu.org; Mon, 05 Apr 2021 08:47:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57748) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTOdN-0006rU-1K; Mon, 05 Apr 2021 08:47:13 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4202 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lTOdM-00049Y-9v; Mon, 05 Apr 2021 08:47:12 -0400 In-Reply-To: <86ft05ur3i.fsf@protected.rcdrun.com> (message from Jean Louis on Mon, 05 Apr 2021 10:29:21 +0300) 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:203588 Archived-At: > From: Jean Louis > Date: Mon, 05 Apr 2021 10:29:21 +0300 > > > I have this file in directory: > /home/data1/protected/public_html/images/Contacts: > > lrwxrwxrwx 1 126 Nov 26 2016 profile.jpg -> http:///home/data1/protected//home/data1/protected/Work/By-ID/135258/pictures/profile.jpg > > It points to non-existing file. I don't think that "http:" (programming > mistake) isrelevant here, as it happens with normally constructed > files as well. > > Then I have ~/tmp/Trash as my trash, files are moved to trash when > deleting in Dired, I have there this symlink pointing to non-existing > file: > > lrwxrwxrwx 1 5 Nov 26 2016 profile.jpg -> 3.jpg > > Then if I try to delete > > lrwxrwxrwx 1 126 Nov 26 2016 profile.jpg -> > http:///home/data1/protected//home/data1/protected/Work/By-ID/135258/pictures/profile.jpg > > I get the error: > > Debug on Error enabled globally > Trashing... > file-already-exists: File already exists: /home/data1/protected/tmp/Trash/profile.jpg Would you please mind telling what exactly constitutes a bug here? It is hard to follow your bug report, given all the various symbolic links to various strange files. I couldn't even understand where did the /home/data1/protected/tmp/Trash/profile.jpg file name come from.