Skip to content
Tcl Source Code History Of Ticket 1963074
Login

History Of Ticket 1963074

Artifacts Associated With Ticket 1963074

  1. Ticket change [588726b249] (rid 117821) by lvirden on 2008-05-13 13:06:13:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The above two tests fail on SPARC Solaris (and probably other platforms) because the tests make the assumption that any user can change the group of a file.
      
      On Solaris 2.8 (and a variety of older and newer versions as well), the user can only change the group of a file s/he owns, and only change it to a group to which s/he belongs.
      
      The weird thing, to me, is that I would have thought this test should have worked - I mean, I am running it as me, so the file created should have been created in my default group.
      
      However, what I am seeing is this:
      
      fCmd.test
      
      ==== fCmd-27.5 TclFileAttrsCmd - setting one option FAILED
      ==== Contents of test case:
      
          createfile foo.tmp
          set attrs [file attributes foo.tmp]
          file attributes foo.tmp {*}[lrange $attrs 0 1]
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: could not set group for file "foo.tmp": not owner
          while executing
      "file attributes foo.tmp {*}[lrange $attrs 0 1]"
          ("uplevel" body line 4)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: POSIX EPERM {not owner}
      ==== fCmd-27.5 FAILED
      
      ==== fCmd-27.6 TclFileAttrsCmd - setting more than one option FAILED
      ==== Contents of test case:
      
          createfile foo.tmp
          set attrs [file attributes foo.tmp]
          file attributes foo.tmp {*}[lrange $attrs 0 3]
      
      ---- Test generated error; Return code was: 1
      ---- Return code should have been one of: 0 2
      ---- errorInfo: could not set group for file "foo.tmp": not owner
          while executing
      "file attributes foo.tmp {*}[lrange $attrs 0 3]"
          ("uplevel" body line 4)
          invoked from within
      "uplevel 1 $script"
      ---- errorCode: POSIX EPERM {not owner}
      ==== fCmd-27.6 FAILED
      
      
    4. foundin initialized to: "obsolete: 8.6a0"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "lvirden"
    10. subsystem initialized to: "37. File System"
    11. title initialized to: "fCmd.test 27.5 and 27.6 failure on SPARC Solaris"
    12. type initialized to: "Bug"