On this pageInterface: WriteFileOptions Properties mode? optional mode: number File mode (permissions) to set when creating the file. Defaults to 0o644.