Fixed: No longer gives an Unauthorized error when calculating file hashes of UI resources.
This commit is contained in:
parent
96c1ceaa29
commit
20894b40cf
|
@ -451,7 +451,7 @@ namespace NzbDrone.Common.Disk
|
|||
throw new FileNotFoundException("Unable to find file: " + path, path);
|
||||
}
|
||||
|
||||
return new FileStream(path, FileMode.Open);
|
||||
return new FileStream(path, FileMode.Open, FileAccess.Read);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue