Change jogamp*.exe execution directory

Problems with getting it running
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
dbradnum
Posts:1
Joined:26 Apr 2017 10:41
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Change jogamp*.exe execution directory

Post by dbradnum » 26 Apr 2017 11:00

Hi,

I'm trying to get Gephi set up for use in a corporate environment with fairly security tight controls, especially around running executables. When Gephi launches, it creates a file named jogamp_exe_tst*.exe [where the * is actually a random and variable series of digits] in a temp directory under the user's profile, and then attempts to run it. In our situation, this is being blocked: I've been advised that running executables from the user profile is viewed as a security vulnerability.

Is there a way to configure Gephi so this executable would be created and run from within the Gephi install directory, or somewhere else that we specify?

thanks,
David

kbswep
Posts:2
Joined:05 Dec 2017 12:56
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Change jogamp*.exe execution directory

Post by kbswep » 05 Dec 2017 13:01

Hi,

I have the same problem; we cannot run executables from user profile dir.
Does anybody have a solution to get Gephi to work anyhow?

Best regards,
Soeren

User avatar
eduramiba
Gephi Code Manager
Posts:1064
Joined:22 Mar 2010 15:30
Location:Madrid, Spain
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Change jogamp*.exe execution directory

Post by eduramiba » 05 Dec 2017 13:28

JOGL works this way, not our code, can't you trust gephi in your antivirus or whatever? Do you use Gephi 0.9.2?

kbswep
Posts:2
Joined:05 Dec 2017 12:56
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable

Re: Change jogamp*.exe execution directory

Post by kbswep » 05 Dec 2017 14:02

Yes, we use Gephi 0.92.

It is jogl :( As David descriped, the problem is that jogl is generating a random named file and want to run it. When the filename is random, it is impossible to make a policy that allows it - because we cannot make policies like jogamp_*.exe

There is partly a possible solution here http://forum.jogamp.org/Change-location ... 37528.html
But I cannot make it work. Maybe someone else has made it work?

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable