Making sure that commiting still work after making optd read-only