bashedev / win-sshfs

Automatically exported from code.google.com/p/win-sshfs
1 stars 0 forks source link

win-sshfs user process crashes with CLR20r3 event if win-sshfs is already running as an Admin process #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run win-sshfs as Admin
2. switch user
3. run win-sshfs as new user

What is the expected output?

I didn't realize that win-sshfs was running as an Admin process, so I expected 
conventional sshfs behavior.

What do you see instead?

the win-sshfs user process throws a CLR20r3 error (check the XML error file in 
~/AppData/Local/TEMP.)

Way down in the comments on this blog post a commenter sheepishly admits that 
his CLR20r3 event happened because he was unknowingly running his process twice:

http://geekswithblogs.net/steveclements/archive/2008/04/30/error--eventtype-clr2
0r3.aspx

Didn't try running two standard user invocations of win-sshfs, but if win-sshfs 
is running as an Admin process, win-sshfs will crash when it's invoked by a 
standard user.

What version of the product are you using?

win-sshfs: 0.0.1.5
Client OS: windows various (Win7 Pro, WHS2011)
Server OS: Fedora 14
Ssh server: openssh-server-5.5p1

Please provide any additional information below.

Original issue reported on code.google.com by jhsny...@gmail.com on 1 Aug 2012 at 2:43

GoogleCodeExporter commented 9 years ago
It seems that IsolatedStorage doesn't like UAC very well. Generaly when you run 
as admin you lock app's IsolatedStorage for that account and mess happens. For 
now just don't run app unelevated. Is there any resion for running app as admin?

Original comment by mladenov...@gmail.com on 13 Aug 2012 at 10:57

GoogleCodeExporter commented 9 years ago

Original comment by mladenov...@gmail.com on 7 Oct 2012 at 7:05

GoogleCodeExporter commented 9 years ago
If I remember correctly, when I run win-sshfs from an rdp session, it doesn't 
work unless I run it with elevated privileges.

Original comment by jhsny...@gmail.com on 7 Oct 2012 at 11:54

GoogleCodeExporter commented 9 years ago
I'm still waiting for my patches to ssh.net library to be included in main 
release, so I could begin grand refactoring of my spaghetti code which would 
hopefully solve your problem. If you want I could do a quick fix tomorrow , but 
then you'll have to be careful not to start two instances of Sshfs.exe for same 
user account(priviledged or not).

Original comment by mladenov...@gmail.com on 8 Oct 2012 at 8:51