Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8280357 user.home = "?" when running with systemd DynamicUser=true
  3. JDK-8282101

Release Note: User's Home Directory set to $HOME if Invalid

    XMLWordPrintable

Details

    Description

      On Linux and macOS, the system property `user.home` is set to the home directory provided by the operating system.
      If the directory name provided is empty or only a single character, the value of the environment variable `HOME` is used instead.

      The directory name and the value of $HOME are usually the same and valid. The fallback to `$HOME` is unusual and unlikely to occur except in environments such as `systemd` on Linux or when running in a container such as Docker.

      Attachments

        Activity

          People

            rriggs Roger Riggs
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: