After some testing I found out what happend.
The problem is caused by a hidden symlink pointing to a directory which has a trailing newline character in its name.
Since the symlink is owed by root and I don't have root access I cannot solve the problem by myself.
To reproduce the problem you don't need a hidden symlink.
Just create a directory with a trailing newline inside of a test dirrctory and copy a file into the test directory.
The command
$perl -e "mkdir \"adir\n\";"
will create such a directory with a trailing newline.
ciao
Arzie
The problem is caused by a hidden symlink pointing to a directory which has a trailing newline character in its name.
Since the symlink is owed by root and I don't have root access I cannot solve the problem by myself.
To reproduce the problem you don't need a hidden symlink.
Just create a directory with a trailing newline inside of a test dirrctory and copy a file into the test directory.
The command
$perl -e "mkdir \"adir\n\";"
will create such a directory with a trailing newline.
ciao
Arzie