Skip to content
Tcl Source Code History Of Ticket 218358
Login

History Of Ticket 218358

Artifacts Associated With Ticket 218358

  1. Ticket change [b78f7c641f] (rid 125623) by nobody on 2000-10-26 00:56:40:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 4169 Bug
      Version: 8.3b1
      SubmitDate: '2000-02-14'
      LastModified: '2000-02-22'
      Severity: LOW
      Status: Closed
      Submitter: techsupp
      ChangedBy: hobbs
      OS: Linux
      OSVersion: Linux, Kernel 2.2.14
      FixedDate: '2000-10-25'
      ClosedDate: '2000-02-22'
      
      
      Name:
      Harald Kirsch
      
      Extensions:
      tcl8.3.0
      
      Comments:
      % uname -a
          Linux kirsch.dialup.fhg.de 2.2.14 #1 Sat Jan 22 10:25:09 CET 2000 i586
          unknown
          
          I assume this is rather a bug of Linux. 
            mkdir bla; cd bla; chmod 000 .; /bin/pwd
          does also not return an error, but probably should.
      
      ReproducibleScript:
      Actually this is about 8.3.0. I ran `make test'.
      
      ObservedBehavior:
      ==== cmdMZ-1.4 Tcl_PwdObjCmd: failure FAILED
      ==== Contents of test case:
      
          file delete -force foo
          file mkdir foo
          set cwd [pwd]
          cd foo
          file attr . -permissions 000
          set result [list [catch {pwd} msg] $msg]
          cd $cwd
          file delete -force foo
          set result
      
      ---- Result was:
      0 /home1/kir/tmp/tcl8.3.0/unix/foo
      ---- Result should have been:
      1 {error getting working directory name: permission denied}
      ==== cmdMZ-1.4 FAILED
      
      DesiredBehavior:
      Well, the test should not fail.
      
      
      
      No, it shouldn't.  Tell that to the Linux guys.  I believe this is
      a linux bug (you can simulate with cd/chmod/pwd at the command line).
      Linux is the only Unix OS that I know of that allows this oddity
      (which I believe is incorrect). 
      -- 02/22/2000 hobbs
      
    4. foundin initialized to: "obsolete: 8.3b1"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "37. File System"
    10. title initialized to: "==== cmdMZ-1.4 Tcl_PwdObjCmd: failure FAILED"
    11. type initialized to: "Bug"
  2. Ticket change [71091b2e00] (rid 100600) by welch on 2000-10-26 08:20:08:

    1. closedate changed to: "2000-10-26T01:20:08"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"