This patch catches the exception "System.UnauthorizedAccessException", so the program does nolonger _crash_ if somebody connects to it using Firefox/Iceweasel.
However, the patch does not fix the problem completely, so the browser still does not show any files.
--- gshare-0.94/src/gshared/ftpserver.cs 2007-01-14 04:13:12.000000000 +0100 +++ gshare-0.94-chri/src/gshared/ftpserver.cs 2008-09-02 20:31:15.000000000 +0200 @@ -294,6 +294,11 @@ error = true; } + catch (System.UnauthorizedAccessException) + { + Log.DebugMessage("Permission denied, don't know why..."); + error = true; + } CloseDataConnection();
signature.asc
Description: OpenPGP digital signature