Project

General

Profile

Bug #63510

Updated by Xiubo Li 6 months ago

This was reported by Frank via the *ceph-users* mail list: https://lists.ceph.io/hyperkitty/list/ceph-users@ceph.io/thread/SYKMCUJOFZVIQ2OZGTFN7KOI4CEXKRSC/ 

 <pre> 
 "The problem occurs in newer python versions when using the  
 shutil.copy function. There is also a function shutil.copy2 for  
 which the problem does not show up. Copy2 behaves a bit like "cp - 
 p" -p" while copy is like "cp". The only code difference (linux) 
 between these 2 functions is that copy calls copyfile+copymode 
 while copy2 calls copyfile+copystat. For now we asked our users to 
 use copy2 to avoid the issue." 
 </pre>

Back