Remove permission bit on preprocessing