Skip to content
Tcl Source Code History Of Ticket 889182ffffffffff
Login

History Of Ticket 889182ffffffffff

Artifacts Associated With Ticket 889182ffffffffff

  1. Ticket change [b858176953] (rid 128950) by dgp on 2004-02-02 17:17:00:

    1. assignee initialized to: "vincentdarley"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      On Solaris 9:
      
      ==== filesystem-7.7 cross-filesystem dir copy with
      -force FAILED
      ==== Contents of test case:
      
          set dir [pwd]
          cd [tcltest::temporaryDirectory]
          file delete -force simpledir
          file mkdir simpledir
          file mkdir dir2
          set fout [open [file join simpledir simplefile] w]
          puts -nonewline $fout "1234567890"
          close $fout
          testsimplefilesystem 1
          # First copy should succeed
          set res [catch {file copy simplefs:/simpledir dir2}
      err]
          lappend res $err
          file attributes dir2 -permissions 0000
          # Second copy should fail (no -force)
          lappend res [catch {file copy simplefs:/simpledir
      dir2} err]
          lappend res $err
          # Third copy should succeed (-force)
          # I've noticed on some Unices that this only succeeds
          # intermittently (some runs work, some fail).  This
      needs
          # examining further.
          lappend res [catch {file copy -force
      simplefs:/simpledir dir2} err]
          lappend res $err
          lappend res [file exists [file join dir2
      simpledir]]  [file exists [file join dir2 simpledir
      simplefile]]
          testsimplefilesystem 0
          file delete -force simpledir
          file delete -force dir2
          cd $dir
          set res
      
      ---- Result was:
      0 {} 1 {error copying "simplefs:/simpledir" to
      "dir2/simpledir": permission denied} 1 {error copying
      "simplefs:/simpledir" to "dir2/simpledir": permission
      denied} 0 0
      ---- Result should have been (exact matching):
      0 {} 1 {error copying "simplefs:/simpledir" to
      "dir2/simpledir": file already exists} 0 {} 1 1
      ==== filesystem-7.7 FAILED
      
      
    4. foundin initialized to: "obsolete: 8.5a0"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "filesystem-7-7 fails"
    11. type initialized to: "Bug"
  2. Ticket change [43c4373ef5] (rid 116617) by vincentdarley on 2004-02-03 00:36:22:

    1. icomment:
      Logged In: YES 
      user_id=32170
      
      Does this fail every time?  I've seen it fail
      intermittently, and haven't been able to understand why...
      
      
      
    2. login: "vincentdarley"
    3. mimetype: "text/plain"
    4. username: "vincentdarley"
  3. Ticket change [bc2a4212e7] (rid 129620) by dgp on 2004-02-03 00:41:17:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      yes, every time.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [d5a158993f] (rid 123657) by dgp on 2004-02-06 02:42:25:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Is there just a mistaken intent here?
      
      I think the -force option is meant
      to disable the "safety" feature of
      not overwriting an existing file.
      I don't think it's intended to (nor
      is it capable of) confer super-user
      powers so that files and directories
      can be manipulated in ways that
      are beyond current permissions.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [a79aebccb2] (rid 98831) by dgp on 2004-02-06 03:08:17:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      hmmm... I see that this test
      is also marked as "unixOnly".
      
      Is there  any unix system
      on which this test passes
      in its current form?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [64b0f38de6] (rid 92812) by dgp on 2004-02-06 03:12:09:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Looks like the permissions
      reset is a red herring.  If I
      comment out the "-permissions 0000"
      line, then the test passes, and
      appears to be testing the -force
      option correctly.
      
      I think that's the proper fix.  Leaving
      it to the maintainer to agree and
      take action.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  7. Ticket change [6c87def6b4] (rid 128527) by dgp on 2004-05-26 23:51:06:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      looks like this was fixed
      some time ago?  Can be closed, yes?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [b28dc55d36] (rid 98352) by vincentdarley on 2004-07-02 15:07:30:

    1. closedate changed to: "2004-07-02T08:07:30"
    2. closer changed to: "vincentdarley"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"