Directories appear empty but are not

I have something odd going on.
I wanted to clean out empty directories. I tried using
find /path/dir/ -type d -empty -delete
but a bunch of the empty directories did not delete.

it was quite baffling. until I used
find -type f
that managed to find a bunch of invisible files which for some reason I cannot see in the smb share.

any idea or suggestion on why they are not showing up? and how to make them show up?

ok so, it was an ownership thing. using chown made the files show up… this had to do with files programs taking ownership of files they created.