[.02] SB 4.04 and 4.05.1 unset PATH enviroment variable

Listing issues addressed in beta version 4.05
Locked
piterkater
Posts: 7
Joined: Wed May 08, 2013 9:48 am

[.02] SB 4.04 and 4.05.1 unset PATH enviroment variable

Post by piterkater » Wed Jul 24, 2013 6:56 am

On Windows 7 x64 with SB 4.04 and 4.05.1, PATH enviroment var is not defined.

On WinXP SP3 32bit with SB 4.04 OK!

On Windows 7 x64 with 3.76 and 4.02 OK!

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Wed Jul 24, 2013 10:30 am

I am not seeing this problem, or otherwise I don't understand what you're asking me to look at.
tzuk

piterkater
Posts: 7
Joined: Wed May 08, 2013 9:48 am

Post by piterkater » Wed Jul 24, 2013 11:42 am

See the picture
https://www.dropbox.com/s/8asyqcrtsb5rt ... t_Path.png

PATH is not defined on Sandbox. Tested on all four sandboxies.
without PATH many app not found like java.exe

I back to 4.02 and working without problem.

tell me is you need any info or test in my system.

Guest10
Posts: 5124
Joined: Sun Apr 27, 2008 5:24 pm
Location: Ohio, USA

Post by Guest10 » Wed Jul 24, 2013 1:05 pm

On XP, the PATH is quite different: unsandboxed vs. sandboxed

Unsandboxed cmd.exe:

Path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\GNU\GnuPG;C:\Program Files\Support Tools\;C:\Program Files\Microsoft USB Flash Drive Manager\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\11.0\DLLShared\;C:\Program Files\Common Files\Acronis\SnapAPI\;C:\Program Files\Acronis\TrueImageHome\;C:\WINNT\system32\WindowsPowerShell\v1.0;C:\Program Files\GNU\GnuPG\pub;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Microsoft USB Flash Drive Manager\

All but the last item in the PATH are "System Variables".
The last item is a "User Variable".

------
Sandboxed cmd.exe:

Path=C:\Program Files\Microsoft USB Flash Drive Manager.

Only "User Variables" show in my PATH, when sandboxed.

SB 4.05.01
[Edited]The "last items" I listed was only 1 item. Doh!
Last edited by Guest10 on Wed Jul 24, 2013 7:53 pm, edited 1 time in total.
Paul
Win 10 Home 64-bit (w/admin rights) - Zone Alarm Pro Firewall, MalwareBytes Premium A/V, Cyberfox, Thunderbird
Sandboxie user since March 2007

DR_LaRRY_PEpPeR
Posts: 291
Joined: Wed Jul 04, 2012 6:40 pm
Location: St. Louis area

Post by DR_LaRRY_PEpPeR » Wed Jul 24, 2013 1:50 pm

Interesting... I was going to say I'm not seeing any difference on XP or 64-bit 7. Sandboxie 4.04.

Then after Paul's reply about "User variables," I realized I don't have a PATH environment variable defined for the user. So I created one (System Control Panel > Advanced, etc.) with the value "Test."

Checking the Command Prompt UNsandboxed, "Test" has been appended to PATH. Sandboxed it's only "Test." I only checked on XP...

But piterkater's isn't defined at all.
XP Home-as-Pro SP3 (Admin) w/ continued updates (Embedded/POSReady 2009)
> Permissions + "2-level" SRP, latest Sandboxie (Pro/registered), EMET 4, no anti-anything (ever)
Did I make tzuk crazed... in his last days? :o

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Wed Jul 24, 2013 3:12 pm

Thanks for the hint Guest10. I change something about environment variables in version 4.04. I guess there is a problem with "user" variables completely overriding "system" variables. I'll check it out.

http://www.sandboxie.com/phpbb/viewtopic.php?t=15877
tzuk

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Thu Jul 25, 2013 9:17 am

Version 4.05.02 should merge the system and user parts of the PATH like Windows does.
tzuk

Locked

Who is online

Users browsing this forum: No registered users and 1 guest