Artifacts Associated With Ticket 218358
Ticket change [b78f7c641f] (rid 125623) by nobody on 2000-10-26 00:56:40:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 - foundin initialized to: "obsolete: 8.3b1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "37. File System"
- title initialized to: "==== cmdMZ-1.4 Tcl_PwdObjCmd: failure FAILED"
- type initialized to: "Bug"
Ticket change [71091b2e00] (rid 100600) by welch on 2000-10-26 08:20:08:
- closedate changed to: "2000-10-26T01:20:08"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"