diff --git a/src/NzbDrone.Mono/Interop/NativeMethods.cs b/src/NzbDrone.Mono/Interop/NativeMethods.cs index a92c78a2f..25a0fc7dc 100644 --- a/src/NzbDrone.Mono/Interop/NativeMethods.cs +++ b/src/NzbDrone.Mono/Interop/NativeMethods.cs @@ -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)