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

Default system cache is wrong location, and system apps and resources cannot be deleted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 6u18
    • Fix Version/s: 6u18
    • Component/s: deploy
    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic
    • OS:
      windows_7
    • Verification:
      Verified

      Backports

        Description

        RFE: 6862781, added a default system cache location on windows platforms.
        On windows 7 the mechanism to select this default is broken, and we just use c:/Sun/Java/Deployment/cache as the location of the system cache.

        At a minimum, if no suitable directory can be found to put the cache in, no default system cache should be configured on windows 7
        Bug in implementation of default system cache is causing it to be in the wrong location in all cases. On XP and Vista, this is not fatal, system cache is created and everyone else can read it and write it.
        On windows 7 - this is worse, because this wrong location is not writeable by other users. (and it is installed from Java Installer which has elevated its priviliges and ecome a differant user)

        Also - Cache Viewer should be able to remove the system cache entries, if the user has write permission to the cache.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  herrick Andy Herrick
                  Reporter:
                  herrick Andy Herrick
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: