Uploaded image for project: 'Batik'
  1. Batik
  2. BATIK-1137

Geeting permission issues in the ubuntu enviroment

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Not A Problem
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: SVG Rasterizer
    • Labels:
      None
    • Environment:
      Ubuntu

      Description

      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)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              veeru.mandli@gmail.com Veeru Reddy
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: