[kde-linux] Folders with all capital letters not copied

Bruce Miller subscribe at brmiller.ca
Sun Nov 2 22:42:01 UTC 2008


I have experienced exactly the same problem. It is disconcerting.

I am the author (in real life) and the owner (in Linux permission terms) of the directories and files in question. Because I use a usb-disk to synchronize documents between home and university, I routinely use a bash script to manage the syncs including "smoothing" ownerships and permissions (including resetting the infamous execute bit set when copying from vfat).

 
Interestingly, the directories show up in "that other operating system" with all caps, but when updated back to Linux using rsync, they come across as lower-case. This is my script:

#!/bin/bash -u
# back-up home directory to a specific pendrive identified in /etc/fstab by its UUID

cd
mount /media/pendrive
rsync -Cvrtz --modify-window=1 /home/bruce/Documents /media/pendrive/
rsync -Cvrtz --modify-window=1 /home/bruce/configs /media/pendrive/
rsync -Cvrtz --modify-window=1 --exclude=**jar --exclude=blogbridge** --exclude=OmegaT** --exclude=bitext2tmx-1.0M0-080229** /home/bruce/bin /media/pendrive/
rsync -Cvrtz --modify-window=1 /media/pendrive/Documents  /home/bruce/

cd ~/Documents
find . -perm -0750 -and -not -type d -exec chmod 0644 {} \;
umount /media/pendrive
--
Bruce Miller, Ottawa, Ontario, Canada
bruce at brmiller.ca; (613) 745-1151


Maybe we can eventually make language a complete impediment to understanding. - Hobbes the tiger



----- Original Message ----
From: Anne Wilson <cannewilson at googlemail.com>
To: maxmadmax at web.de; For people using KDE on Linux with related questions/problems <kde-linux at kde.org>
Sent: Sunday, November 2, 2008 5:18:48 PM
Subject: Re: [kde-linux] Folders with all capital letters not copied

On Sunday 02 November 2008 21:24:18 Maximilian B. Rost wrote:
> KDE 3.5.9
> Konqueror
>
> Hello,
>
> trying to copy subdirectories with capital letters as CD1, CD2 fails. The
> subdirectories are copied with small letters cd1, cd2 from harddisk to
> usb-disk and after creating the subdirectories the content is not copied.
>
> The filesystem of the usb-disk is vfat.
>
> Are there any tricks except of giving all subdirectories minor letters
> before copying?
>
I've never seen any problem in copying any directories, but is it possible 
that you don't own the files in question?

You need to be aware that vfat has problems with capitalisation and cannot 
handle permissions at all.

Anne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20081102/6187e1ba/attachment.html>


More information about the kde-linux mailing list