| Ticket UUID: | 1197447 | ||
| Title: | fCmd-6.26 error when /home is a link | ||
| Type: | Bug | Created on: | 2005-05-07 21:30:35 |
| Submitter: | msofer | Assigned to: | vincentdarley |
| Subsystem: | 36. Pathname Management | Severity: | |
| Priority: | 5 Medium | Last modified: | 2026-10-22 17:19:32 |
| Status: | Closed | Closed by: | serhiy.storchaka |
| Resolution: | Fixed | Closed on: | 2026-10-21 10:03:39 |
| Version: | obsolete: 8.5a3 | ||
| Description: | ||||
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
| ||||
| User Comments: | ||||
vincentdarley added on 2005-06-09 23:25:45:
Logged In: YES user_id=32170 Can you suggest and test a patch to fix this test? serhiy.storchaka added on 2026-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]). | ||||
