Fixed a bug involving duplicate permission-denied strings