9001 / 9001/copyparty

Can't trash folder with WebDAV (rclone mount method)

Aperta
#418 2 commenti 0 reazioni 1 assegnatario Rivendicata da @9001 Vedi su GitHub
bug
Lingua principale
Python
Stelle
46.6k
Fork
1.9k
Merge medio
10g 16h
PR unite (30g)
5

Descrizione

NOTE:
### Describe the bug
When I try to delete a folder, I get
`Unable to create trashing info file for .... Input/Output error. Do you want to permanently delete it? [Yes] [No] [Cancel]`
Then, if I hit `[Yes]`, I get `Error removing file: Directory not empty`

### To Reproduce
On the linux client, connect to CopyParty using the instructions in the web client. Find a folder with some files in it, and try to delete it. The graphical interface will fail to trash the file, and offer to delete it fully. This then will succeed in some circumstances, and fail in others (Thunar fails to trash a non-empty folder, for example)

### Screenshots
Image

### Server details
* **server OS / version:** Ubuntu Server 24.04.2 LTS
* **how you're running copyparty:** docker
* **docker image:** copyparty/ac (Not sure how to fetch version from within docker)
* **copyparty arguments and/or config-file:**
```
[global]
e2dsa
e2ts
hist: /cfg/hists/

[accounts]
user: pass

[/]
/media/ssd1/samba (Note: Migrated from old samba setup)
accs:
rwmda: user

[/music]
/media/ssd1/music
accs:
rwmda: user

... other similar mounts ...
```

### Client details
* OS version: Debian 12 (Bookworm)
* browser version: Vivaldi (Chromium based)
* file manager: Thunar (In Nemo, same error about 'trashing info file' but no problems fully deleting the folder)

### Other Info
I don't know enough about how trashing works to be able to dig into it on my own, but if there's any additional info you need let me know! Oh, and permission in the mount all show up as user:user, so I'm reluctant to think that's the issue.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.