From 5c99fed3e4c39ecb4ae9bd72805c411966ffdb4a Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sat, 21 Aug 2010 14:44:48 +0200 Subject: [PATCH] use policy-file for applet to allow remote-storage --- applet.policy | 3 +++ rsbs2.pl | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 applet.policy diff --git a/applet.policy b/applet.policy new file mode 100644 index 0000000..07499e7 --- /dev/null +++ b/applet.policy @@ -0,0 +1,3 @@ +grant { + permission java.security.AllPermission; +}; diff --git a/rsbs2.pl b/rsbs2.pl index 022a949..c835c0d 100755 --- a/rsbs2.pl +++ b/rsbs2.pl @@ -477,7 +477,7 @@ sub status { sub spawn_gui { my $base = shift; - open(APPLET,"|appletviewer /dev/stdin"); + open(APPLET,"|appletviewer -J-Djava.security.policy=applet.policy /dev/stdin"); print APPLET 'RSB S2 User Interface'; print APPLET ''; print APPLET ''; -- 2.39.5