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

Enforce group for attach listener file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • None
    • core-svc
    • None
    • b13

        The attach listener file, usually /tmp/.java_pid<pid> is created from the hotspot JVM process. In most cases it will belong to the process effective user and effective group. However, there can be cases when this will not happen, e.g. when the directory where it is created has set the s-bit for its group. Then the group of the directory is taken. Such situations will cause errors when the attach client tries to connect and it is checked whether the group of the attach file matches the client processes' effective group.

        JDK-7152800 already fixes this issue for MacOS, where new files by default belong to the group of the directory rather than that of the process.

              clanger Christoph Langer
              clanger Christoph Langer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: