mirror of https://github.com/BOINC/boinc.git
client: preserve ownership when copying files to slot directory.
svn path=/trunk/boinc/; revision=16827
This commit is contained in:
parent
9643394e2e
commit
b7699eb6bc
|
@ -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 <copy_file/> tag.
|
||||
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue