I just copied a directory from a USB flash drive. I copied it from an NTFS drive and so all the files had execute permission.
chmod -x * to undo the execute permission. Despite that, all the directories are showing with green background, which is normally only for executable files.
What could be the reason?