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

Geeting permission issues in the ubuntu enviroment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Not A Problem
    • 1.7
    • None
    • SVG Rasterizer
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: