Unable to delete attached files/images in the site>private>files

Hi.

I’m currently using ERPNEXT v14.65.8.

I’ve created a child table with the the following field types.

I also tried to upload 3 different images for this doc.

These 3 images will appear in my site folder > private > files

After I clear/remove these attached images from my doc.


Some images will be removed in my site folder > private > files, while some files will still persist. Why is this the case?

I’m expecting that all these files attached to this doc will be removed when i remove them as an attachment. Is this a bug?

If you want to remove the file then remove it from the file manager because it’s link doctype.

OK. thank you for your help.