change 'permission denied' notice to alert