From unknown Thu Aug 14 22:20:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69117: 30.0.50; Cannot trash directory, if such exists in trash can Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Feb 2024 08:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69117 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 69117@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170790060011298 (code B ref -1); Wed, 14 Feb 2024 08:50:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Feb 2024 08:50:00 +0000 Received: from localhost ([127.0.0.1]:50270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raAxr-0002w9-Se for submit@debbugs.gnu.org; Wed, 14 Feb 2024 03:50:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:58726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raAxo-0002w0-Lo for submit@debbugs.gnu.org; Wed, 14 Feb 2024 03:49:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raAxW-0006oY-EB for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2024 03:49:38 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raAxS-0006Ij-Hl for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2024 03:49:37 -0500 Received: from localhost ([::ffff:41.75.182.31]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000010D902.0000000065CC7E74.00002517; Wed, 14 Feb 2024 01:48:51 -0700 From: Jean Louis Date: Fri, 09 Feb 2024 11:01:37 +0300 Message-ID: <875xyyawwu.fsf@lco.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=217.170.207.13; envelope-from=lco@protected.rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: 17 X-Spam_score: 1.7 X-Spam_bar: + X-Spam_report: (1.7 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_96_XX=3.405, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) I cannot trash this directory: from /home/data1/protected/.cache: D drwxr-xr-x 4 4.0K Jun 19 2023 kaidan to /home/data1/protected/tmp/Wastebasket: drwxr-xr-x 2 4.0K Feb 9 10:56 kaidan because "drwxr-xr-x 2 4.0K Feb 9 10:56 kaidan" already exists in the trash can directory named Wastebasket: Trashing... file-error: Renaming: Directory not empty, /home/data1/protected/.cache/kaidan, /home/data1/protected/tmp/Wastebasket/kaidan In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) of 2023-12-15 built on lco Repository revision: 8e0882d17a38cb9d309df705e76a8e88529f30a9 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101011 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --with-x-toolkit=lucid --with-mailutils' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 39117 9845) (symbols 48 5254 0) (strings 32 14218 2026) (string-bytes 1 396415) (vectors 16 10414) (vector-slots 8 159394 14325) (floats 8 40 14) (intervals 56 291 10) (buffers 984 12)) Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/ From unknown Thu Aug 14 22:20:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69117: 30.0.50; Cannot trash directory, if such exists in trash can References: <875xyyawwu.fsf@lco.mail-host-address-is-not-set> In-Reply-To: <875xyyawwu.fsf@lco.mail-host-address-is-not-set> Resent-From: Ruslan Bekenev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Apr 2024 06:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69117 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: bug#69117 <69117@debbugs.gnu.org> Received: via spool by 69117-submit@debbugs.gnu.org id=B69117.171273218315601 (code B ref 69117); Wed, 10 Apr 2024 06:57:03 +0000 Received: (at 69117) by debbugs.gnu.org; 10 Apr 2024 06:56:23 +0000 Received: from localhost ([127.0.0.1]:51945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruRsc-00043Z-Ri for submit@debbugs.gnu.org; Wed, 10 Apr 2024 02:56:23 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]:45253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ruRsb-00042b-BB for 69117@debbugs.gnu.org; Wed, 10 Apr 2024 02:56:22 -0400 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1e24c889618so51967255ad.2 for <69117@debbugs.gnu.org>; Tue, 09 Apr 2024 23:56:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712732165; x=1713336965; darn=debbugs.gnu.org; h=to:date:message-id:subject:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=I0vQ5EYvPwsRDh8DqbTprQ78JnQqcn7f9wcKJ2rU8+A=; b=b0JLYYU6bUSO8uH34HS6Ydsq279AyZT9jW7GBKvv+1K2Y+4mvLsImcwB92dWyZzQGe LJqlD8ZeYgoHW/OVwRKKcUUycgib1lKY/plfLvwE2ErEb9exTGXxZvQkON5Xmv4YnnM+ V36st2G4nw3qQWW8aDtSdXcHkW6qVz7duuMPo3e6A9pKPCFHNefNldP6b3sk93R71ICT FmwB61zk0VzsZRhu0bYp1f8AbItRfiZx59GGKGw9g2cSGW/Kwn1lblFkFBI5T123sd3w p7lQlmg5ep7xEVYFwDo1jPHHizWOeP0K6QTuEG5poycyMJJe3HZlACJVwuMHpsELLdRl Z1Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712732165; x=1713336965; h=to:date:message-id:subject:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=I0vQ5EYvPwsRDh8DqbTprQ78JnQqcn7f9wcKJ2rU8+A=; b=ekvycHDH8mBfOXrCmtK21m5AKoVux7YJg26p1Iun05sg3w8ui9udY5x0fTKoYVHaO9 vtFSooXdYou4+6GeYS8/6RJTh7ioYeAkyQaFaJGbyN6GaoJcOpVh4Jq+SCN3oS51UHSl 50MRoLZAQOedN97G22g8Y9tNyAfgdqrkLq9X/Ibz8xdil0qYi71D16c9VNeKaQ83o2Dp OHBYW4GfeLHVUl++AF+O9h0Cf6fBsTXm34va4hGR8BGyhhfLDWtJqJ1uuXxFzU8vDgVx m+l312vhErMq80y6Sv8+wO13BDNmpnbIFYKRpjXm7Y07IzofaLhf/855rYRAihs8CGWz F7tA== X-Gm-Message-State: AOJu0YzoL6ck2GdJiAv3YNM/4lxJSeNff6GOY70oRjx7O9WuZFTnMTOH WXmzDrf+DONIRsrQ8NHWGTVlgV/53UOScfgBBPVho6+CCFYnuWn5NtbC2Me6 X-Google-Smtp-Source: AGHT+IEuna2JRbHzeI9m6x6PyjhgKGLbkgVrxyqHNNcMQ3EOC2x2DG03PGnrV56yucCanY188h6TEA== X-Received: by 2002:a17:902:d2d1:b0:1e4:436e:801b with SMTP id n17-20020a170902d2d100b001e4436e801bmr1640456plc.67.1712732165083; Tue, 09 Apr 2024 23:56:05 -0700 (PDT) Received: from smtpclient.apple (180-150-37-223.b49625.bne.nbn.aussiebb.net. [180.150.37.223]) by smtp.gmail.com with ESMTPSA id kq12-20020a170903284c00b001e29acb2d18sm10088038plb.4.2024.04.09.23.56.03 for <69117@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2024 23:56:04 -0700 (PDT) From: Ruslan Bekenev Content-Type: multipart/mixed; boundary="Apple-Mail=_2FCBB064-4F44-4C2A-82D2-8710BE7E9F0A" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Message-Id: Date: Wed, 10 Apr 2024 16:55:52 +1000 X-Mailer: Apple Mail (2.3774.500.171.1.1) X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --Apple-Mail=_2FCBB064-4F44-4C2A-82D2-8710BE7E9F0A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > I cannot trash this directory I tried to reproduce it and it seems working fine on my end. The = file/dir is renamed and then stored in the trash can. In your case it = should just rename the kaidan directory to kaidan~1~ Could you please share your ~system-move-file-to-trash~ variable value?=20= I came up with the test for this use-case. It seems passing. I hope someone can review the test case and see if = there is better way to replicate the issue.=20 P.S. I initially sent this email to the wrong location. My apologies if it = brought a little mess. Ruslan --Apple-Mail=_2FCBB064-4F44-4C2A-82D2-8710BE7E9F0A Content-Disposition: attachment; filename=0001-Test-dired-delete-functionality.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-Test-dired-delete-functionality.patch" Content-Transfer-Encoding: quoted-printable =46rom=20b202131097e2774a8e96f0d0e72c07c693977008=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Ruslan=20Bekenev=20=0A= Date:=20Wed,=2010=20Apr=202024=2012:58:07=20+1000=0ASubject:=20[PATCH]=20= Test=20dired=20delete=20functionality=0A=0AAdd=20test=20for=20= https://debbugs.gnu.org/69117=0AThe=20issue=20described=20in=20the=20bug=20= is=20that=20a=20file=20cannot=20be=20trashed=0Aif=20a=20file=20with=20= the=20same=20name=20already=20exists=20in=20the=20trash=20bin.=0AThe=20= test=20checks=20this=20functionality=20and=20ensures=20that=20the=20= dired=20delete=0Afunctionality=20works=20even=20in=20case=20trash=20bin=20= already=20has=20the=20file=20with=0Athe=20same=20name.=0A---=0A=20= test/lisp/dired-tests.el=20|=2046=20= ++++++++++++++++++++++++++++++++++++++++=0A=201=20file=20changed,=2046=20= insertions(+)=0A=0Adiff=20--git=20a/test/lisp/dired-tests.el=20= b/test/lisp/dired-tests.el=0Aindex=20651b77500a1..d6773ac8a56=20100644=0A= ---=20a/test/lisp/dired-tests.el=0A+++=20b/test/lisp/dired-tests.el=0A@@=20= -609,5=20+609,51=20@@=20dired-test-directory-files-and-attributes=0A=20=20= =20=20=20=20=20(let=20((default-directory=20test-dir-other))=0A=20=20=20=20= =20=20=20=20=20(files-tests--insert-directory-shows-given-free=20= test-dir)))))=0A=20=0A+(ert-deftest=20dired-test-bug69117=20()=0A+=20=20= "Test=20for=20https://debbugs.gnu.org/69117."=0A+=20=20(let*=20= ((delete-by-moving-to-trash=20t)=0A+=20=20=20=20=20=20=20=20=20= (dired-recursive-deletes=20'always)=0A+=20=20=20=20=20=20=20=20=20= (dired-deletion-confirmer=20(lambda=20(_)=20t))=0A+=20=20=20=20=20=20=20=20= =20(testdir=20(expand-file-name=20"bug69117"=20default-directory))=0A+=20= =20=20=20=20=20=20=20=20(trash-directory=20(expand-file-name=20= "trashdir"=20default-directory))=0A+=20=20=20=20=20=20=20=20=20= (dir-to-delete=20"dir-to-delete"))=0A+=20=20=20=20(fmakunbound=20= 'system-move-file-to-trash)=20;;=20make=20sure=20file=20aren't=20moved=20= to=20system=20trash=0A+=20=20=20=20(unwind-protect=0A+=20=20=20=20=20=20=20= =20(progn=0A+=20=20=20=20=20=20=20=20=20=20(mapc=20(lambda=20(d)=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(when=20= (file-directory-p=20d)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20(delete-directory=20d=20t)))=0A+=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20(list=20trash-directory=20testdir))=0A+=20=20= =20=20=20=20=20=20=20=20(make-directory=20trash-directory)=0A+=20=20=20=20= =20=20=20=20=20=20(make-directory=20testdir)=0A+=20=20=20=20=20=20=20=20=20= =20(when=20(file-directory-p=20trash-directory)=0A+=20=20=20=20=20=20=20=20= =20=20=20=20(progn=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20(when=20= (file-directory-p=20dir-to-delete)=0A+=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(delete-directory=20dir-to-delete))=0A+=20=20=20=20=20=20=20=20= =20=20=20=20=20=20;;=20create=20dir-to-delete=20and=20delete=20it=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(make-directory=20(expand-file-name=20= dir-to-delete=20testdir))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (dired=20testdir)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (dired-toggle-marks)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (should=20(=3D=202=20(length=20(directory-files=20trash-directory))))=20= ;;=20.=20and=20..=20folders=20are=20there=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(should=20(=3D=201=20(length=20(dired-get-marked-files))))=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20=20(dired-do-delete=20nil)=0A+=20= =20=20=20=20=20=20=20=20=20=20=20=20=20(dired-toggle-marks)=0A+=20=20=20=20= =20=20=20=20=20=20=20=20=20=20(should=20(=3D=200=20(length=20= (dired-get-marked-files))))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (should=20(=3D=203=20(length=20(directory-files=20trash-directory))))=0A= +=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20;;=20create=20= dir-to-delete=20and=20delete=20it=20again=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(make-directory=20(expand-file-name=20dir-to-delete=20= testdir))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20(revert-buffer)=0A= +=20=20=20=20=20=20=20=20=20=20=20=20=20=20(dired-toggle-marks)=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20=20(should=20(=3D=201=20(length=20= (dired-get-marked-files))))=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (dired-do-delete=20nil)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (dired-toggle-marks)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (should=20(=3D=200=20(length=20(dired-get-marked-files))))=0A+=20=20=20=20= =20=20=20=20=20=20=20=20=20=20(should=20(=3D=204=20(length=20= (directory-files=20trash-directory)))))))=0A+=20=20=20=20=20=20(mapc=20= (lambda=20(d)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20(when=20= (file-directory-p=20d)=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= (delete-directory=20d=20t)))=0A+=20=20=20=20=20=20=20=20=20=20=20=20= (list=20trash-directory=20testdir)))))=0A+=0A=20(provide=20'dired-tests)=0A= =20;;;=20dired-tests.el=20ends=20here=0A--=20=0A2.44.0=0A=0A= --Apple-Mail=_2FCBB064-4F44-4C2A-82D2-8710BE7E9F0A-- From unknown Thu Aug 14 22:20:09 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69117: 30.0.50; Cannot trash directory, if such exists in trash can Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Apr 2024 12:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69117 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 69117@debbugs.gnu.org Received: via spool by 69117-submit@debbugs.gnu.org id=B69117.17130966021938 (code B ref 69117); Sun, 14 Apr 2024 12:11:02 +0000 Received: (at 69117) by debbugs.gnu.org; 14 Apr 2024 12:10:02 +0000 Received: from localhost ([127.0.0.1]:34473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvygM-0000VC-0q for submit@debbugs.gnu.org; Sun, 14 Apr 2024 08:10:02 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]:44509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvygK-0000Ui-F9 for 69117@debbugs.gnu.org; Sun, 14 Apr 2024 08:10:01 -0400 Received: from localhost ([::ffff:41.75.191.98]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000B9FC6.00000000661BC78B.0003993F; Sun, 14 Apr 2024 05:09:46 -0700 Date: Sun, 14 Apr 2024 15:07:56 +0300 From: Jean Louis Message-ID: References: <875xyyawwu.fsf@lco.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <875xyyawwu.fsf@lco.mail-host-address-is-not-set> User-Agent: Mutt/2.2.12 (2023-09-09) X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * Jean Louis [2024-02-14 11:51]: > > I cannot trash this directory: > > from /home/data1/protected/.cache: > D drwxr-xr-x 4 4.0K Jun 19 2023 kaidan > > to > > /home/data1/protected/tmp/Wastebasket: > drwxr-xr-x 2 4.0K Feb 9 10:56 kaidan > > because "drwxr-xr-x 2 4.0K Feb 9 10:56 kaidan" already exists in the > trash can directory named Wastebasket: > > Trashing... > file-error: Renaming: Directory not empty, /home/data1/protected/.cache/kaidan, /home/data1/protected/tmp/Wastebasket/kaidan That was in February, version from 7th March does not show me this result again, if so, I will report bug again. Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/ From unknown Thu Aug 14 22:20:09 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jean Louis Subject: bug#69117: closed (Re: bug#69117: 30.0.50; Cannot trash directory, if such exists in trash can) Message-ID: References: <86o7acm6db.fsf@gnu.org> <875xyyawwu.fsf@lco.mail-host-address-is-not-set> X-Gnu-PR-Message: they-closed 69117 X-Gnu-PR-Package: emacs Reply-To: 69117@debbugs.gnu.org Date: Sun, 14 Apr 2024 13:18:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1713100683-8731-1" This is a multi-part message in MIME format... ------------=_1713100683-8731-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #69117: 30.0.50; Cannot trash directory, if such exists in trash can which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 69117@debbugs.gnu.org. --=20 69117: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D69117 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1713100683-8731-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 69117-done) by debbugs.gnu.org; 14 Apr 2024 13:17:11 +0000 Received: from localhost ([127.0.0.1]:34491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvzjJ-00028l-E6 for submit@debbugs.gnu.org; Sun, 14 Apr 2024 09:17:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvzjH-00027Z-5m for 69117-done@debbugs.gnu.org; Sun, 14 Apr 2024 09:17:08 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rvzj0-0000W7-Iz; Sun, 14 Apr 2024 09:16:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=E4y8zWEq5RoUD112YCRIGDK7L03v5RL3+6Bw9gftfV0=; b=NPz2iOk7HYsv ZIQ5c57pjLR7tyvf8UoUpibhf2D5LyoWRfW7UlMDAxsP61arVH7O9CbpD9P2sZfJXX6s/7x8l6JIZ jWsjlJpFZKAtAkiIDEeJt1/jXNh+X+z6+WP6cMh2iB3mKSLUylOxGIt38JiJ16ORrJaxTC4ch/QLl ysEIikjss+AGW+sqIEd+6kBs3XDDO+wdW5qW3hiL/alMac0eczfjkcIQTCKoGNTtZVfmARQ6OuAfY Qc7M+0FlpEYu2ERYU6IAOZ2dwhmg08zkp42Ns1LN9jQyjX1UNQdwX/xoTe9FxyeKd6ZYMBROu3Pgd AgA/lp8WX0LOxGYjYtM3Ug==; Date: Sun, 14 Apr 2024 16:16:48 +0300 Message-Id: <86o7acm6db.fsf@gnu.org> From: Eli Zaretskii To: Jean Louis In-Reply-To: (message from Jean Louis on Sun, 14 Apr 2024 15:07:56 +0300) Subject: Re: bug#69117: 30.0.50; Cannot trash directory, if such exists in trash can References: <875xyyawwu.fsf@lco.mail-host-address-is-not-set> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 69117-done Cc: 69117-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 14 Apr 2024 15:07:56 +0300 > From: Jean Louis > > * Jean Louis [2024-02-14 11:51]: > > > > I cannot trash this directory: > > > > from /home/data1/protected/.cache: > > D drwxr-xr-x 4 4.0K Jun 19 2023 kaidan > > > > to > > > > /home/data1/protected/tmp/Wastebasket: > > drwxr-xr-x 2 4.0K Feb 9 10:56 kaidan > > > > because "drwxr-xr-x 2 4.0K Feb 9 10:56 kaidan" already exists in the > > trash can directory named Wastebasket: > > > > Trashing... > > file-error: Renaming: Directory not empty, /home/data1/protected/.cache/kaidan, /home/data1/protected/tmp/Wastebasket/kaidan > > That was in February, version from 7th March does not show me this result again, if so, I will report bug again. Thanks. So I'm closing this bug; please reopen if you see the problem again. ------------=_1713100683-8731-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Feb 2024 08:50:00 +0000 Received: from localhost ([127.0.0.1]:50270 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raAxr-0002w9-Se for submit@debbugs.gnu.org; Wed, 14 Feb 2024 03:50:00 -0500 Received: from lists.gnu.org ([209.51.188.17]:58726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1raAxo-0002w0-Lo for submit@debbugs.gnu.org; Wed, 14 Feb 2024 03:49:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raAxW-0006oY-EB for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2024 03:49:38 -0500 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raAxS-0006Ij-Hl for bug-gnu-emacs@gnu.org; Wed, 14 Feb 2024 03:49:37 -0500 Received: from localhost ([::ffff:41.75.182.31]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 000000000010D902.0000000065CC7E74.00002517; Wed, 14 Feb 2024 01:48:51 -0700 From: Jean Louis To: bug-gnu-emacs@gnu.org Subject: 30.0.50; Cannot trash directory, if such exists in trash can X-Debbugs-Cc: Date: Fri, 09 Feb 2024 11:01:37 +0300 Message-ID: <875xyyawwu.fsf@lco.mail-host-address-is-not-set> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=217.170.207.13; envelope-from=lco@protected.rcdrun.com; helo=stw1.rcdrun.com X-Spam_score_int: 17 X-Spam_score: 1.7 X-Spam_bar: + X-Spam_report: (1.7 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_96_XX=3.405, HEADER_FROM_DIFFERENT_DOMAINS=0.248, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.6 (-) I cannot trash this directory: from /home/data1/protected/.cache: D drwxr-xr-x 4 4.0K Jun 19 2023 kaidan to /home/data1/protected/tmp/Wastebasket: drwxr-xr-x 2 4.0K Feb 9 10:56 kaidan because "drwxr-xr-x 2 4.0K Feb 9 10:56 kaidan" already exists in the trash can directory named Wastebasket: Trashing... file-error: Renaming: Directory not empty, /home/data1/protected/.cache/kaidan, /home/data1/protected/tmp/Wastebasket/kaidan In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.18.0, Xaw3d scroll bars) of 2023-12-15 built on lco Repository revision: 8e0882d17a38cb9d309df705e76a8e88529f30a9 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101011 System Description: Debian GNU/Linux trixie/sid Configured using: 'configure --with-x-toolkit=lucid --with-mailutils' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XAW3D XDBE XIM XPM LUCID ZLIB Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo x-toolkit x multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 39117 9845) (symbols 48 5254 0) (strings 32 14218 2026) (string-bytes 1 396415) (vectors 16 10414) (vector-slots 8 159394 14325) (floats 8 40 14) (intervals 56 291 10) (buffers 984 12)) Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/ ------------=_1713100683-8731-1--