updatecenter2
  1. updatecenter2
  2. UPDATECENTER2-1583

non-user directory access fails on Windows 7

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: B45
    • Component/s: ipsenhancement
    • Labels:
      None
    • Environment:

      Operating System: Windows 7
      Platform: All

    • Issuezilla Id:
      1,583
    • Status Whiteboard:
      Hide

      2.4, mixed-owner-admin

      Show
      2.4, mixed-owner-admin
    • Tags:

      Description

      pkg(5) does not work on Windows 7. This needs to be supported as there already
      has been a customer issue on this. Roman Strobal from JetBrains sees the issue
      noted in

      https://updatecenter2.dev.java.net/issues/show_bug.cgi?id=1093

      Specifically,

      Application ID: [Update Tool 2.1.0 (Build 18.1681)]
      Timestamp : [ Central Europe Daylight Time(Central Europe Daylight Time)]
      wx Version : [2.8.8.0]
      wx Platform : [__WXMSW__]
      Python Version: [UNKNOWN]
      Platform : [UNKNOWN]

      Traceback (innermost last):
      File "C:\glassfishv3\updatetool\vendor-packages\updatetool\common\ips.py", line
      1139, in Run
      self.iplan.preexecute()
      File "C:\glassfishv3\pkg\vendor-packages\pkg\client\imageplan.py", line 608, in
      preexecute
      p.download()
      File "C:\glassfishv3\pkg\vendor-packages\pkg\client\pkgplan.py", line 258, in
      download
      flist.add_action(dest)
      File "C:\glassfishv3\pkg\vendor-packages\pkg\client\filelist.py", line 152, in
      add_action
      self._do_get_files()
      File "C:\glassfishv3\pkg\vendor-packages\pkg\client\filelist.py", line 250, in
      _do_get_files
      fe = self._get_files()
      File "C:\glassfishv3\pkg\vendor-packages\pkg\client\filelist.py", line 450, in
      _get_files
      raise FileListRetrievalError(
      FileListRetrievalError: Could not retrieve filelist from
      'http://pkg.sun.com/glassfish/v3/stable/windows'
      Exception: str:[Errno 13] Permission denied repr:<exceptions.OSError instance at
      0x03348C60>

        Activity

        Hide
        mnsingh added a comment -

        With some initial testing, operations under User's home directory work without a
        problem. Unzipping gfv3 zip under a different directory (e.g. to c:\gfv3) causes
        windows to deny the operation as a normal user. But in the process windows pops
        up a dialog asking we the user wants to try the same operation as administrator,
        and that succeeds. The updatetool, run normally without admin access continues
        to run fine after that.

        Still need to try out older versions e.g. whether a B15 to B18 upgraded install
        works too or not.

        Show
        mnsingh added a comment - With some initial testing, operations under User's home directory work without a problem. Unzipping gfv3 zip under a different directory (e.g. to c:\gfv3) causes windows to deny the operation as a normal user. But in the process windows pops up a dialog asking we the user wants to try the same operation as administrator, and that succeeds. The updatetool, run normally without admin access continues to run fine after that. Still need to try out older versions e.g. whether a B15 to B18 upgraded install works too or not.
        Hide
        mnsingh added a comment -

        More data from Roman:

        I tried to run the updatetool.exe and now it freezes after startup, no matter
        whether I run it as administrator or as regular user.

        My directory is c:\glassfishv3

        Show
        mnsingh added a comment - More data from Roman: — I tried to run the updatetool.exe and now it freezes after startup, no matter whether I run it as administrator or as regular user. My directory is c:\glassfishv3 —
        Hide
        Mike Fitch added a comment -

        Added rn keyword so this continues to show up on reports when making Release Notes.

        Show
        Mike Fitch added a comment - Added rn keyword so this continues to show up on reports when making Release Notes.
        Hide
        Tom Mueller added a comment -

        Windows 7 will be available at the time that 2.4 ships, so the urgency of fixing
        this for 2.4 is greater.

        Show
        Tom Mueller added a comment - Windows 7 will be available at the time that 2.4 ships, so the urgency of fixing this for 2.4 is greater.
        Hide
        Tom Mueller added a comment -

        I've been able to run updatetool and pkg(1) successfully on Windows 7 using a
        non-user directory, e.g., C:\test\testimage.

        As of revision 2668, this appears to be fixed.

        Show
        Tom Mueller added a comment - I've been able to run updatetool and pkg(1) successfully on Windows 7 using a non-user directory, e.g., C:\test\testimage. As of revision 2668, this appears to be fixed.

          People

          • Assignee:
            Tom Mueller
            Reporter:
            mnsingh
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: