OriginalBugID: 1412 Bug
Version: 8.1
SubmitDate: '1999-03-02'
LastModified: '2000-02-28'
Severity: LOW
Status: UnAssn
Submitter: pat
ChangedBy: hobbs
OS: Digital Unix
OSVersion: 4.0
Machine: Other
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'
Name:
James Bonfield
ReproducibleScript:
Test test claims:
==== unixFCmd-1.7 TclpRenameFile: EXDEV
==== Contents of test case:
cleanup
file mkdir foo/bar
file attr foo -perm 040555
set msg [list [catch {file rename foo/bar /tmp} msg] $msg]
set a1 {1 {can't unlink "foo/bar": permission denied}}
set result [expr {$msg == $a1}]
catch {file delete /tmp/bar}
catch {file attr foo -perm 040777}
catch {file delete -force foo}
set result
The reason is that under Digital Unix 4.0, the msg returned is:
"error renaming "foo/bar" to "/tmp/bar": permission denied", not the "$a1" in
the above test.
ObservedBehavior:
Test failed
DesiredBehavior:
Test passes
Logged In: YES
user_id=32170
This appears to have been fixed in the current cvs head, so
I'm closing the bug.