Sorry, NO food in the tent. No matter how well sealed an animal will track it down.
Bear bag all your food and keep any food related items like pots and utensils away from the tents.
BTW, you're not just trying to keep bears out of your stuff, I've had more mice and chipmunks get into my food than any other animal! And believe me those little critters running around your camp with attract the meateaters. So keep your camp as clean as possible.
.
.