FUSLOGVW.exe corrupts custom directory name when run with sudo inline
Opened this issue · 0 comments
Sudo for Windows version
1.0.1
Windows build number
10.0.26100.0
Other Software
Assembly Binding Log Viewer 4.0.30319.0
Steps to reproduce
-
Configure inline
sudo. -
Run
sudo FUSLOGVW.exe -
Click on Settings.
-
Enable custom log path.
-
Enter a valid existing directory.
-
An error will pop up: Custom log path must not be relative. And it must be an existing directory. Please reset custom log path.
-
Inspect the Windows API call using Process Monitor from Sysinternals and see that the path name has been corrupted:
-
Run
FUSLOGVW.exefrom an elevated PowerShell prompt (which can be elevated using sudo or by starting the process elevated from the Start menu), and confirm that this bug is not present.
Another developer has also reproduced this issue on a separate PC.
Expected Behavior
Running Assembly Binding Log Viewer under sudo inline will behave the same as when elevated via other means.
Actual Behavior
I'm unable to set a custom log directory because the log path is corrupted when calling the Windows CreateFile API.