* Dired cannot trash, but only in certain locations
@ 2021-08-16 16:11 Felix E. Klee
2021-08-19 12:17 ` Felix E. Klee
0 siblings, 1 reply; 3+ messages in thread
From: Felix E. Klee @ 2021-08-16 16:11 UTC (permalink / raw)
To: help-gnu-emacs
In a Linux VM running under Windows 10, I’ve mounted my user directory:
vmhgfs-fuse /home/felix/windows fuse.vmhgfs-fuse rw,relatime,user_id=0,group_id=0,allow_other 0 0
For use with Dired, I customized:
'(delete-by-moving-to-trash t)
Now, I cannot trash some files from Dired. For example:
1. I open `~/windows/Downloads`. (everything in Emacs under Linux)
2. I position point on:
-rw-r--r-- 1 1.8M Aug 11 07:47 1.jpg
3. I press `D`. The result in the mini buffer: “error: Cannot move
/home/felix/windows/Downloads/1.jpg to trash: Permission denied”
However, in the Linux command line, it’s no problem to do:
cd ~/windows/Downloads/
trash 1.jpg
Note that this only happens in certain directories. In other
directories below the `~/windows` mount point, I can trash from Dired
without issues.
Both, the command line tool `trash` and Dired put the trashed files
into:
~/.local/share/Trash
I deleted that directory, and in fact there was a permissions issue –
some files had to be deleted as `root`. However, the problem persists.
It’s weird that I can trash some files with `trash`, but not from Dired.
Any ideas what else I can check?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Dired cannot trash, but only in certain locations
2021-08-16 16:11 Dired cannot trash, but only in certain locations Felix E. Klee
@ 2021-08-19 12:17 ` Felix E. Klee
2021-08-19 12:49 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Felix E. Klee @ 2021-08-19 12:17 UTC (permalink / raw)
To: help-gnu-emacs
Or how can I see what shell process is executed for the failed trash
attempts?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Dired cannot trash, but only in certain locations
2021-08-19 12:17 ` Felix E. Klee
@ 2021-08-19 12:49 ` Eli Zaretskii
0 siblings, 0 replies; 3+ messages in thread
From: Eli Zaretskii @ 2021-08-19 12:49 UTC (permalink / raw)
To: help-gnu-emacs
> From: "Felix E. Klee" <felix.klee@inka.de>
> Date: Thu, 19 Aug 2021 06:17:08 -0600
>
> Or how can I see what shell process is executed for the failed trash
> attempts?
AFAIK, it isn't a shell command, it's implemented entirely in Emacs
Lisp.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-19 12:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-16 16:11 Dired cannot trash, but only in certain locations Felix E. Klee
2021-08-19 12:17 ` Felix E. Klee
2021-08-19 12:49 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.