Red Hat Bugzilla – Bug 234919
scp lower/uppercase problem
Last modified: 2015-03-04 20:18:31 EST
Description of problem:
There are several directories under /home/dir (name changed to protect
confidentiality). The directories are like "CORE", "CDMA", etc.
we perfomed (from /home) an
scp -r directory 192.168.5.13:/home/bkup/
then on the 192.168.5.13 machine instead of being upper case CORE, CDMA, etc.,
they were lower case (cdma, core, etc).
an attempt to move them (mv cdma CDMA) gave the message that you could not
move a directory to a subdirectory of itself. Indeed if I did
ls core or ls CORE
they both showed the same (the contents of the directory) so somehow,
directory names became case insensitive.
The file names under these directories did not change though.
Version-Release number of selected component (if applicable):
do the following (have two machines connected through ip. In this
example I will use 10.0.0.1 and 10.0.0.2)/. On the 10.0.0.1 have a directory
with a name in upper case (e.g. /home/TEST).
Steps to Reproduce:
1. from 10.0.0.1 under /home do an scp -r TEST firstname.lastname@example.org:
2. on 10.0.0.2 the directory may be test instead of TEST but both will work.
3. substitute anything you want for root@ as long as it is on 10.0.0.2. We diod
root to root.
direcotry switched to lower case
should have stayed upper case
What OS and openssh version is running on each machine?
What filesystems are they writing to?
This works fine for me in FC6/F7.
I forwarded the message to Jan because I don't have access to his machine.
Here is the "from" machine though:
Linux 2.6.17-1.2141_FC4smp #1 SMP Fri Jun 30 15:08:52 EDT 2006 i686 i686 i386
by the way, "cheating" from this machine to itself via scp worked. So it must
be the machine in Jan's office
that is the problem.
(I took the machine name out because I don't know if it is proprietary or not.
The ip address is 192.168.5.11)
Fedora 6 was isntalled on the machine yesterday so it is no longer possible
to test this the same way. It works OK with Fedora 6. Perhaps this should be
moved to DEFERRED or something?
If it works on Fedora 6 and Fedora 7 i'd rather suggest closing it as works in
Read ya, Phil
Yeah I guess so.
First I thought it was because it was going between
Linux and Windows, but then I realized it was not going
between Linux and Windows. It was Linux - Linux.
I suppose I can/should close it?
Sure, sounds good to me.
Read ya, Phil