mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 15:32:31 +01:00
Fixed: Failing file copy when running in docker on synology with btrfs
This commit is contained in:
parent
903aba5dee
commit
25b763a052
@ -20,7 +20,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)
|
||||
|
Loading…
Reference in New Issue
Block a user