Fixed: Failing file copy when running in docker on synology with btrfs

Co-Authored-By: Taloth <Taloth@users.noreply.github.com>
Signed-off-by: Robin Dadswell <robin@dadswell.email>
This commit is contained in:
QstickandTaloth committed 2021-01-28 23:43:19 -05:00
1 parent 2d1573251b
commit 755fec154b
1 file changed
+1 -1
+1 -1
View File
@@ -17,7 +17,7 @@ internal static class NativeMethods
public static SafeUnixHandle open(string pathname, OpenFlags flags)
{
return new SafeUnixHandle(Syscall.open(pathname, flags));
return new SafeUnixHandle(Syscall.open(pathname, flags, FilePermissions.DEFFILEMODE));
}
internal static int clone_file(SafeUnixHandle link_fd, SafeUnixHandle src_fd)