Skip to content
Tcl Source Code View Ticket
Login

View Ticket

fCmd-6.26 error when /home is a link

Closed / Fixed1197447fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 41 days ago
Descriptionplain2005-05-07 21:30:35
In my linux system, /home is a soft link to /mnt/home.
The testsuite throws the following error:

==== fCmd-6.26 CopyRenameOneFile: doesn't use original
name FAILED
==== Contents of test case:

    cleanup
    file mkdir ~/td1/td2
    set td2name [file join [file dirname ~] [file tail
~] td1 td2]
    file attributes $td2name -permissions 0000
    set msg [list [catch {file copy ~/td1 td1} msg] $msg]
    file attributes $td2name -permissions 0755
    file delete -force ~/td1
    set msg

---- Result was:
1 {error copying "~/td1" to "td1": "/home/mig/td1/td2":
permission denied}
---- Result should have been (exact matching):
1 {error copying "~/td1" to "td1":
"/mnt/home/mig/td1/td2": permission denied}
==== fCmd-6.26 FAILED
vincentdarleyplain2005-06-09 23:25:45
Logged In: YES 
user_id=32170

Can you suggest and test a patch to fix this test?
serhiy.storchakawiki2026-10-21 10:03:39

Fixed in 8.5.0 by [22b6ae1be7]: fCmd-6.26 now builds its expected result from $::env(HOME), so a symlinked /home no longer makes it fail (see also [1569064fff]).

serhiy.storchaka Ticket [1197447fff]: 3 changes [History diff]2026-10-22 17:19:32
Log in (anonymous is fine) to add a comment.