Repair permissions management loopholes