At Wed, 17 Apr 2013 14:10:01 +0800, Liu Yuan wrote: > > On 04/17/2013 01:45 PM, Hitoshi Mitake wrote: > > + fd = open(tmp_path, O_WRONLY | O_CREAT | O_SYNC, > > + S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP); > > use def_fmode. Thanks for your pointing. I'll fix it in v2. Hitoshi