##// END OF EJS Templates
copy the mode of the file when breaking hardlinks
Benoit Boissinot -
r1521:11a58d2c default
parent child Browse files
Show More
@@ -387,6 +387,8 b' def opener(base):'
387 except: pass
387 except: pass
388 raise
388 raise
389 fp.close()
389 fp.close()
390 st = os.lstat(f)
391 os.chmod(temp, st.st_mode)
390 rename(temp, f)
392 rename(temp, f)
391
393
392 return file(f, mode)
394 return file(f, mode)
General Comments 0
You need to be logged in to leave comments. Login now