barryvdh / laravel-elfinder

elFinder bundle for Laravel
738 stars 171 forks source link

Unable to retain file in Trash #243

Closed hardiktailored closed 6 years ago

hardiktailored commented 6 years ago

I have added "trashHash" and Trash volume array in config roots array. I have created .trash folder in files, which showed Trash folder in sidebar. Given 777 permission to files. Delete button replaced with "Into trash" button in toolbar. But when I click on "Into trash" button in toolbar, it gives trash error and shows permanent delete option in same popup like below:

Unable into trash. Unable to replace "Home/First Folder/test". Are you sure you want to permanently remove items? This cannot be undone!

See delete popup: http://nimb.ws/IDr7QO

hardiktailored commented 6 years ago

I had trashHash of main volume in config. Instead I copied hash from URL after clicking on trash folder and copied hash added in config fixed issue.