UnixPrintServiceLookup should not require file permission

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 5.0
    • Affects Version/s: 1.1, 1.4.2_04, 5.0
    • Component/s: client-libs
    • None
    • 2d
    • b26
    • generic, sparc
    • solaris_9

        PrinterJob.getPrintService() will always return null in the sandbox
         (solaris only)

        This is because in UnixPrintServiceLookup.java, method execCmd, it tries
        to execute lpstat to find out the available print service on the system,
        and redirects the lpstat output to a temp file created with
        File.createTempFile.

        But File.createTempFile will fail in the sandbox because we don't have
        permissions to create file on the local system. So all the lookup on
        print service will return null.

              Assignee:
              Jennifer Godinez (Inactive)
              Reporter:
              Thomas Ng (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: