[jira] [Commented] (BATIK-1137) Geeting permission issues in the ubuntu enviroment

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (BATIK-1137) Geeting permission issues in the ubuntu enviroment

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/BATIK-1137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15964308#comment-15964308 ]

simon steiner commented on BATIK-1137:
--------------------------------------

try using
 java -jar batik-rasterizer.jar -scriptSecurityOff /var/www/html/image_name.svg


> Geeting permission issues in the ubuntu enviroment
> --------------------------------------------------
>
>                 Key: BATIK-1137
>                 URL: https://issues.apache.org/jira/browse/BATIK-1137
>             Project: Batik
>          Issue Type: Bug
>          Components: SVG Rasterizer
>    Affects Versions: 1.7
>         Environment: Ubuntu
>            Reporter: Veeru Reddy
>            Priority: Blocker
>
> When i try to run the below command I am  getting error like below:
> sudo java -jar /usr/share/java/batik-rasterizer-1.7.jar /var/www/html/image_name.svg
> Exception in thread "main" java.security.AccessControlException: access denied ("java.util.PropertyPermission" "java.security.policy" "write")
>         at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
>         at java.security.AccessController.checkPermission(AccessController.java:559)
>         at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
>         at java.lang.System.setProperty(System.java:783)
>         at org.apache.batik.util.ApplicationSecurityEnforcer.installSecurityManager(Unknown Source)
>         at org.apache.batik.util.ApplicationSecurityEnforcer.enforceSecurity(Unknown Source)
>         at org.apache.batik.apps.rasterizer.Main.execute(Unknown Source)
>         at org.apache.batik.apps.rasterizer.Main.main(Unknown Source)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]