Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8170423

Well known file is not secure (wrong owner)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • gc

      java -Dvmsqe.aod.AppId=/tmp/tmp.dkM7axyBOE -XX:+UsePerfData -server -Xmixed -server -XX:MaxRAMFraction=8 nsk.share.aod.TargetApplicationWaitingAgents -agentsNumber 4 -port 54350

      [2016-11-28T14:13:06.94] Exception in thread "main" nsk.share.Failure: Unexpected exception during test execution: java.io.IOException: well-known file /tmp/.java_pid8418 is not secure: file should be owned by the current user (which is 1002) but is owned by 68450
      [2016-11-28T14:13:06.94] at nsk.share.aod.AODTestRunner.runTest(AODTestRunner.java:144)
      [2016-11-28T14:13:06.94] at nsk.aod.VirtualMachine.VirtualMachine06.VirtualMachine06.main(VirtualMachine06.java:71)
      [2016-11-28T14:13:06.94] Caused by: java.io.IOException: well-known file /tmp/.java_pid8418 is not secure: file should be owned by the current user (which is 1002) but is owned by 68450
      [2016-11-28T14:13:06.94] at jdk.attach/sun.tools.attach.VirtualMachineImpl.checkPermissions(Native Method)
      [2016-11-28T14:13:06.94] at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:107)
      [2016-11-28T14:13:06.94] at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:58)
      [2016-11-28T14:13:06.94] at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:207)
      [2016-11-28T14:13:06.94] at nsk.aod.VirtualMachine.VirtualMachine06.VirtualMachine06.doTestActions(VirtualMachine06.java:36)
      [2016-11-28T14:13:06.94] at nsk.share.aod.AODTestRunner.runTest(AODTestRunner.java:120)

            dfazunen Dmitry Fazunenko (Inactive)
            jwilhelm Jesper Wilhelmsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: