Jump to content

Getting a "Access to the path ... is denied" response.

Closed 3.3.6

Mortis
Mortis

Posted

Updated the plugin and I am getting this error in the log:

 

Quote

[Hud] We noticed a change in CustomEventHooks, we are rewriting the plugin with your changes. The plugin will be automatically reloaded!

03/16 11:37:31 | Failed to call hook 'OnServerInitialized' on plugin 'Hud v3.3.5' (UnauthorizedAccessException: Access to the path "/home/tcagame/xxxxx/xxxxx/oxide/plugins/Hud.cs" is denied.)
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0019e] in <f98723dd4586469db5213ec59da723ca>:0
at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options) [0x00000] in <f98723dd4586469db5213ec59da723ca>:0
at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions)
at System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) [0x00055] in <f98723dd4586469db5213ec59da723ca>:0
at System.IO.StreamWriter..ctor (System.String path) [0x00008] in <f98723dd4586469db5213ec59da723ca>:0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string)
at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00026] in <f98723dd4586469db5213ec59da723ca>:0
at Oxide.Plugins.Hud.FillCustomHooks () [0x001b8] in <7a151d96b53c4dbb974a840c5b12b2d0>:0
at Oxide.Plugins.Hud.OnServerInitialized () [0x00195] in <7a151d96b53c4dbb974a840c5b12b2d0>:0
at Oxide.Plugins.Hud.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00123] in <7a151d96b53c4dbb974a840c5b12b2d0>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <9c80d821d00a44c9a24497c73ad2d20d>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d646191a355d43a6b3ab36b7ee14c740>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d646191a355d43a6b3ab36b7ee14c740>:0

I don't exactly know why this message is showing as the plugin just worked before updating.

How to best solve this?

Rolling back to the previous versions gives the same message..

AhigaO

Posted

Your hosting don't give acces to modify files for plugin.

Mortis

Posted

Seems that it resolved the issue by itself.

Logging in to the server and checking the Hud, it seems to be just working fine..

lol, I have no idea why this happened.. 😄

Thanks for the quick reply! 🙂

AhigaO

Posted

Changed Status from Pending to Closed

1.7m

Downloads

Total number of downloads.

7.8k

Customers

Total customers served.

117.7k

Files Sold

Total number of files sold.

2.4m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.