1) Say "I'm really sorry, but I cannot do my best work in this environment", and hand in their resignation.
2) Learn to work within the constraints given and find ways to be productive anyway.
3) Take on the responsibility of trying to work within the system and improve things.
4) Bitch and moan, get all passive aggressive, start working slower (to prove their point) and generally piss off their surroundings, spread negativity and tank morale.
The point is that you should always pick some combination of 1-3, rather than 4. However 4 is by far the easiest and makes most people feel better about themselves so that is the one they tend to go for. It is also by far the most unprofessional, and reflects rather badly on you.
Full disclosure: I may have done nr. 4 at some point in my career.