Modifies permissions