Trashing from non system partition [CLOSED]

Questions, glitches, bugs and crashes
Locked
cka3o4h1k
Posts: 30
Joined: Tue Sep 12, 2017 12:46 pm

Trashing from non system partition [CLOSED]

Post by cka3o4h1k » Sat Dec 23, 2017 1:17 pm

Trashing (cmd+⌫) from non system partition always try to "delete permanently".

And would be nice to have shortcut for deleting without asking permission.

JayB
Posts: 192
Joined: Sun Jan 08, 2017 4:38 pm

Re: Trashing from non system partition

Post by JayB » Sun Jan 07, 2018 2:44 pm

Probable duplicate with this topic: http://magnumbytes.com/forum/viewtopic.php?f=6&t=192
(Topics could be merged.)

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Trashing from non system partition

Post by mike » Fri Jan 19, 2018 4:34 am

I've spent some on the issue.
There're two parts here:
1) Under some circumstances, NC is not able to detect if trashing is supported on a particular volume.
It was done via checking if some "Trash" folder exists on a volume, without creation of one if there's none.
I've changed logic a bit and now NC will ask system to create a trash folder if possible.
This will eliminate issues with freshly formatted USB sticks and alike.
2) On many volumes, like SMB/CIFS mount, trash operation is simply not supported.
I don't think it's a good idea to fake trashing and to silently permanently delete an entry instead.

Locked