Skip to content

Commit 5b3775c

Browse files
skshetryefiop
authored andcommitted
reflink: set mode to 0o666
1 parent e78f817 commit 5b3775c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dvc_objects/fs/system.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def reflink(src, dst):
9191
src_fd = os.open(src, os.O_RDONLY)
9292

9393
try:
94-
dst_fd = os.open(dst, os.O_WRONLY | os.O_CREAT | os.O_TRUNC)
94+
dst_fd = os.open(dst, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, 0o666)
9595
except OSError:
9696
os.close(src_fd)
9797
raise

0 commit comments

Comments
 (0)