Background:
drupal 8.4.2
custom media solution
Issue
I can not delete files permanently which created as media entity.
Reproduce
- Created an image media entity.
/admin/content/files
claimsstatus permanent
andused in 2
places.- After deleting newly created media entity from UI
/admin/content/media
. /admin/content/files
saysstatus permanent
andused in 1
places.
Even cron run after 6 hours (as described in file settings) file still exist on the server.
Is there any safest or best way to delete those unused file permanently?