and should probably remove the index reference...
This commit is contained in:
parent
7df5d78ec1
commit
70b5e91fa3
@ -260,7 +260,7 @@ class Backup(object):
|
|||||||
exec_fd, exec_tmp = tempfile.mkstemp(prefix = '_borgextend.',
|
exec_fd, exec_tmp = tempfile.mkstemp(prefix = '_borgextend.',
|
||||||
suffix = '._tmpexc',
|
suffix = '._tmpexc',
|
||||||
text = True,
|
text = True,
|
||||||
dir = tmpdir)[1]
|
dir = tmpdir)
|
||||||
# D'oh. I need to close the FD before messing with it.
|
# D'oh. I need to close the FD before messing with it.
|
||||||
os.close(exec_fd)
|
os.close(exec_fd)
|
||||||
os.chmod(exec_tmp, mode = 0o0700)
|
os.chmod(exec_tmp, mode = 0o0700)
|
||||||
|
Loading…
Reference in New Issue
Block a user