git-svn: trunk@1731
remotes/push_mirror/metadata
Tomasz Kojm 20 years ago
parent 6bc34381f9
commit 979d32e446
  1. 2
      clamav-devel/libclamav/others.c

@ -665,7 +665,7 @@ int cli_filecopy(const char *src, const char *dest)
if((s = open(src, O_RDONLY)) == -1)
return -1;
if((d = open(dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY)) == -1) {
if((d = open(dest, O_CREAT|O_WRONLY|O_TRUNC|O_BINARY, S_IRWXU)) == -1) {
close(s);
return -1;
}

Loading…
Cancel
Save