Fixed permission modification error