Debugging for encyption/permissions