Strict files and directories mode change on update