Should a postdoc apply for a tenured position? I have two related questions, which are similar to my other question 

Should I simultaneously apply for multiple jobs in different ranks at the same university?

The first one is say a school is opening a tenure position in the Associate Professor rank. I like to know how the job committee will view the application from a candidate who is currently a postdoc?

The second one is that say the school opens both a tenured-track Assistant Professor and a  tenure Associate Professor. Should a candidate who is a postdoc apply to both or only to the tenured-track position? If he/she applies to both, whether that affects his/her application negatively?
Under most circumstances (not an exceptionally brilliant candidate or a field that is very difficult to recruit in), if a postdoc applies to what is advertised as a tenured associate professor position, then I would interpret the application as asking whether the university might consider hiring at the assistant professor level instead.  That's not unreasonable, since job openings do not always get filled the way the department had in mind.  The chances are lower if the department is hoping for something else, but it's not impossible.

I'd recommend being explicit about this.  If you are actually trying for tenure straight out of a postdoc, you should say so, but it will be a waste of time unless there are unusual circumstances (and it may make you look arrogant or out of touch).  If you would like to be considered for a tenure-track position should the department decide to hire at that level instead, then you should make that clear.