diff --git a/checkin_notes b/checkin_notes index 0dc7b9599c..2f5a13e07c 100644 --- a/checkin_notes +++ b/checkin_notes @@ -37,3 +37,9 @@ Janus Jan 6 2009 locales/da BOINC-Manager.po +Charlie Jan 6 2009 + client: preserve ownership when copying files to slot directory. Fixes + a problem with Enigma@home which uses the tag. + + lib/ + filesys.cpp diff --git a/lib/filesys.cpp b/lib/filesys.cpp index 0e492039fa..a439ab432e 100644 --- a/lib/filesys.cpp +++ b/lib/filesys.cpp @@ -505,7 +505,7 @@ int boinc_copy(const char* orig, const char* newf) { return system(cmd); #else char cmd[1024]; - sprintf(cmd, "cp \"%s\" \"%s\"", orig, newf); + sprintf(cmd, "cp -p \"%s\" \"%s\"", orig, newf); return system(cmd); #endif }