Skip to content

Commit

Permalink
reflink: set mode to 0o666
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored and efiop committed Dec 6, 2023
1 parent e78f817 commit 5b3775c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dvc_objects/fs/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def reflink(src, dst):
src_fd = os.open(src, os.O_RDONLY)

try:
dst_fd = os.open(dst, os.O_WRONLY | os.O_CREAT | os.O_TRUNC)
dst_fd = os.open(dst, os.O_WRONLY | os.O_CREAT | os.O_TRUNC, 0o666)
except OSError:
os.close(src_fd)
raise
Expand Down

0 comments on commit 5b3775c

Please sign in to comment.