Package: caja
Version: 1.22.2-1
Severity: normal

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Scott Jacobs <scott092...@aol.com>
To: Debian Bug Tracking System <sub...@bugs.debian.org>
Subject: caja: Cannot move file to Trash, do you want to delete immediately?
Bcc: Scott Jacobs <scott092...@aol.com>
Message-ID: 
<157231618695.27987.4352493207987785411.reportbug@ASUS-PRIME-B350M-A-CSM>
X-Mailer: reportbug 7.5.3
Date: Mon, 28 Oct 2019 22:29:46 -0400
X-Debbugs-Cc: scott092...@aol.com


Dear Maintainer,

I try to delete a file, but get the above subject text.

At first, I thought it was because all of my personal data directories
(Documents/Desktop/Pictures/...) are bind-mounted to directories in a separate 
data partition.
However, the rest of /home is within the system partition /, and I get the same
result there.
If I sudo caja, and try to delete a (copy of a) system file (say, /etc/fstab),
this works fine. It appears in /root/.local/share/Trash/files.
I DO have a ~/.local/share/Trash/files directory, and my /data partition has a
.Trash-1000 directory.

I also note, that when I view a picture with eog, invoked from caja's context 
menu,
and hit the delete key, eog also tells me it cannot trash the file, 
and would I like to delete it.  eog apparently inherits the faulty information 
that caja feeds it.

If I use nemo or pcmanfm-qt, there is no problem trashing the files, and if eog
is invoked from them, it has no problem trashing them with the delete key as 
well.

(I don't know why ~/.local/share/Trash[/files] is somehow owned by root, but
this is not a problem for the other FMs, and I suspect that it is intentional;
that individually, trashed files officially ought not to be deleted
individually, but are allowed to be deleted en masse when "Empty Trash" is
invoked as a command - but this is only a supposition...)

I just noticed something interesting:
If I try to trash a file in my bind-mounted /data partition, I just get the
subject text, but if I try to trash a file in my ~/ directory, I ALSO get the
following text, under the "Show more details" arrow:
"Unable to find or create trash directory for /home/scott/.reportbugrc (copy)"

-----------------------------------------
scott@ASUS-PRIME-B350M-A-CSM:~$ ls -lha /
...
drwxrwxr-x  10 scott scott 4.0K Oct 28 20:15 data

scott@ASUS-PRIME-B350M-A-CSM:~$ ls -lha /data
...
drwxrwxr-x 64 scott scott 4.0K Mar 14  2019 scott
drwx------  5 scott scott 4.0K Feb 28  2014 .Trash-1000

scott@ASUS-PRIME-B350M-A-CSM:~$ ls -lha .local/share
drwx------  4 root  root  4.0K Mar 16  2019 Trash

scott@ASUS-PRIME-B350M-A-CSM:~$ sudo ls -lha .local/share/Trash
...
drwx------  2 root  root  4.0K Mar 16  2019 files
drwx------  2 root  root  4.0K Mar 16  2019 info




-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages caja depends on:
ii  caja-common           1.22.2-1
ii  desktop-file-utils    0.24-1
ii  gvfs                  1.38.1-5
ii  libatk1.0-0           2.34.1-1
ii  libc6                 2.29-2
ii  libcairo-gobject2     1.16.0-4
ii  libcairo2             1.16.0-4
ii  libcaja-extension1    1.22.2-1
ii  libexempi8            2.5.1-1
ii  libexif12             0.6.21-5.1
ii  libgail-3-0           3.24.12-1
ii  libgdk-pixbuf2.0-0    2.40.0+dfsg-1
ii  libglib2.0-0          2.62.2-1
ii  libglib2.0-bin        2.62.2-1
ii  libglib2.0-data       2.62.2-1
ii  libgtk-3-0            3.24.12-1
ii  libice6               2:1.0.9-2
ii  libmate-desktop-2-17  1.22.2-1
ii  libnotify4            0.7.8-1
ii  libpango-1.0-0        1.42.4-7
ii  libpangocairo-1.0-0   1.42.4-7
ii  libselinux1           2.9-2+b2
ii  libsm6                2:1.2.3-1
ii  libx11-6              2:1.6.8-1
ii  libxml2               2.9.4+dfsg1-7+b3
ii  mate-desktop          1.22.2-1
ii  shared-mime-info      1.10-1

Versions of packages caja recommends:
ii  gvfs-backends  1.38.1-5

Versions of packages caja suggests:
pn  engrampa            <none>
pn  gstreamer1.0-tools  <none>
pn  meld                <none>

-- no debconf information

Reply via email to