Permission flag fix (mogul).