Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b78f7c641f748e1ebbf4453bbcb8056fcc5dc741
Ticket: 218358ffffffffffffffffffffffffffffffffff
==== cmdMZ-1.4 Tcl_PwdObjCmd: failure FAILED
User & Date: nobody on 2000-10-26 00:56:40
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed 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 changed to: "obsolete: 8.3b1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "37. File System"
  10. title changed to: "==== cmdMZ-1.4 Tcl_PwdObjCmd: failure FAILED"
  11. type changed to: "Bug"