Proper permission handling.