While cinnamon oil does repel cockroaches (and kill them if you use enough of it), sprinkling powdered cinnamon around your floor or cabinets is unlikely to do much good. Trans-cinnamaldehyde, the active ingredient in cinnamon, won't be highly concentrated in the powdered spice, and what there is of it will quickly evaporate into the air.