diff --git a/src/cmwBuffer.hh b/src/cmwBuffer.hh index 0109eaa..a3bbe4f 100644 --- a/src/cmwBuffer.hh +++ b/src/cmwBuffer.hh @@ -320,7 +320,7 @@ templateclass ReceiveBuffer{ int giveFile (auto nm){ int sz=give<::uint32_t>(); checkLen(sz); - int fd=openWrapper(nm,O_CREAT|O_WRONLY|O_TRUNC|O_DIRECT|O_SYNC + int fd=openWrapper(nm,O_CREAT|O_WRONLY|O_TRUNC ,S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH); do{ int r=::write(fd,rbuf+subTotal+rindex,sz);