Which kernel version are you using (just type: uname -a)?
If your are using the 3.14 kernel, the GPIO.setup() don’t function like it was supposed to. You need to export the pin first. You should take a look at config-pin from beaglebone-universal-io (). If you are using the 3.8 kernel, try running with sudo.