Change device permissions