← Back to team overview

openjdk team mailing list archive

Bug#859630: java.security.AccessControlException: access denied ("java.io.FilePermission" "/usr/bin/xprop" "execute")

 

Package: icedtea-netx
Version: 1.6.2-3.1
Severity: normal

Every time I run this command, I get the exception below. The xprop
command is available, but default java policy deny its execution.
How shoud I change the java policy?

giuseppe@supergulp:~$ itweb-settings 
java.security.AccessControlException: access denied ("java.io.FilePermission" "/usr/bin/xprop" "execute")
	at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
	at java.security.AccessController.checkPermission(AccessController.java:884)
	at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
	at java.lang.SecurityManager.checkExec(SecurityManager.java:796)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1018)
	at java.lang.Runtime.exec(Runtime.java:620)
	at java.lang.Runtime.exec(Runtime.java:450)
	at java.lang.Runtime.exec(Runtime.java:347)
	at org.GNOME.Accessibility.AtkWrapper.<clinit>(AtkWrapper.java:34)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at java.lang.Class.newInstance(Class.java:442)
	at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:805)
	at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:886)
	at javax.swing.UIManager.getSystemLookAndFeelClassName(UIManager.java:611)
	at net.sourceforge.jnlp.controlpanel.ControlPanel.main(ControlPanel.java:426)
	at net.sourceforge.jnlp.controlpanel.CommandLine.main(CommandLine.java:508)

Thanks,
Giuseppe