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

system.lock and systemRootModFile have improper permissions.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.4.0_02
    • solaris_10, 1.4.0, 1.4.0_01
    • install
    • 02
    • x86, sparc
    • solaris_8, solaris_9, solaris_10
    • Not verified

        After a Solaris 9 update one build two install, two files are left mode 666.

        This is a result of the SUNWj3rt postinstall script, and the following code

        touch $PREFS_LOCATION/.systemPrefs/.system.lock
        touch $PREFS_LOCATION/.systemPrefs/.systemRootModFile
        chmod 666 $PREFS_LOCATION/.systemPrefs/.systemRootModFile
        chmod 666 $PREFS_LOCATION/.systemPrefs/.system.lock

        The perms should be 644, with the owner being root. The latter
        is probably true.

        Also, any file added via a postinstall script in Solaris must be
        added to the package data base via the installf command. See
        other such additions in the same postinstall script.

        Hopper should not go out (FCS) with this bug.
        ###@###.### 2002-05-20

              rkajasunw Rajani Kaja (Inactive)
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: