Plugin System.UnauthorizedAccessException fix

klarahaus

New member
Pronouns
she/her
Yesterday I had this problem
Code:
Error type: System.UnauthorizedAccessException
   Message: Access to the path 'c1201e0246_dwn.mdl' is denied.
   HResult: 0x80070005
   at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
   at Heliosphere.DownloadTask.<CreateDirectories>b1394() in //DownloadTask.cs:line 357
   at Polly.ResiliencePipeline.<>c.<Execute>b290(ResilienceContext , Action state)
--- End of stack trace from previous location ---
   at Polly.ResiliencePipeline.Execute(Action callback)
   at Heliosphere.DownloadTask.CreateDirectories() in //DownloadTask.cs:line 357
   at Heliosphere.DownloadTask.Run() in //DownloadTask.cs:line 173

this was caused because I imported my penumbra mod folder from windows, and this was causing permission erros, I could install mod but not update them because heliosphere couldnt delete old files, but I managed to fix by changing permissions with this command:

Code:
chmod -R u+w

this allows heliosphere to modify files for updating.
 
Back
Top