I was experimenting with HDF5 installation from a permanently mounted NTFS data partition so lots of deletion etc. Now part of the folder (containing some codes etc.) is not deleting and showing the above error. I have already NTFS-3g etc. but only have windows on virtualbox (from which also can not delete). Thanks for all the help!
I am on CentOS 7.