jellyfin/Emby.Server.Implementations/IO
Bond_009 0f52896691 Fix UnauthorizedAccessException in GetDrives
```
[15:01:24] [ERR] [55] Jellyfin.Server.Middleware.ExceptionMiddleware: Error processing request. URL GET /Environment/Drives.
System.UnauthorizedAccessException: Access to the path is denied.
 ---> System.IO.IOException: Operation not permitted
   --- End of inner exception stack trace ---
   at System.IO.DriveInfo.CheckStatfsResultAndThrowIfNecessary(Int32 result)
   at System.IO.DriveInfo.get_TotalSize()
   at Emby.Server.Implementations.IO.ManagedFileSystem.<>c.<GetDrives>b__32_0(DriveInfo d) in /home/bond/dev/jellyfin/Emby.Server.Implementations/IO/ManagedFileSystem.cs:line 583
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.ToList()
   at Emby.Server.Implementations.IO.ManagedFileSystem.GetDrives() in /home/bond/dev/jellyfin/Emby.Server.Implementations/IO/ManagedFileSystem.cs:line 583
   at Jellyfin.Api.Controllers.EnvironmentController.GetDrives() in /home/bond/dev/jellyfin/Jellyfin.Api/Controllers/EnvironmentController.cs:line 153
   at lambda_method559(Closure , Object , Object[] )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync()
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()
```
2021-11-07 15:33:39 +01:00
..
ExtendedFileSystemInfo.cs Merge branch 'master' into warn17 2020-03-11 20:26:43 +01:00
FileRefresher.cs Enable nullable reference types for Emby.Server.Implementations 2021-05-20 22:48:53 +02:00
LibraryMonitor.cs Fix warnings in IO 2021-10-03 21:41:22 -04:00
LibraryMonitorStartup.cs Make MediaBrowser.MediaEncoding warnings free 2020-08-20 12:16:24 +02:00
ManagedFileSystem.cs Fix UnauthorizedAccessException in GetDrives 2021-11-07 15:33:39 +01:00
MbLinkShortcutHandler.cs Enable nullable reference types for Emby.Server.Implementations 2021-05-20 22:48:53 +02:00
StreamHelper.cs Enable nullable reference types for Emby.Server.Implementations 2021-05-20 22:48:53 +02:00