1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-17 21:26:22 -04:00

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

This commit is contained in:
Taloth Saldono
2020-06-22 15:41:53 +02:00
committed by Qstick
parent 35532b6789
commit ff3e53a71b

View File

@@ -17,7 +17,7 @@ namespace NzbDrone.Mono.Interop
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)