I apologize for asking this simple question.
I wanted to copy an entire directory and its subdirectories and it still fails.
cp /var/www /media/harddisk did not copy all subdirectories
cp -Rv /var/www /media/ harddisk did not copy all subdirectories!
cp -rv /var/www /media/ harddisk did not copy all subdirectories!
cp -av /var/www /media/ harddisk Copy all files and subdirectories but does not respect! original owner or group
I guess it's a problem depending on permissions, I used root (sudo) and neither has performed well.
A page where I can read and understand this behavior "cp"?
The verbose parameter is not sufficient for read what files or directorys are not copied?
The copy was to transfer a web site to a new directory, some pages had links that did not include default suffix. "Html", probably because the owners have changed it after you copy the links do not work.
The server is a working Apache2 on Debian 6.0 (Raspberrypi) where I can read to try to understand this strange behavior?
The target hard disk file system is NTFS USB, I installed ntfs-3g, perhaps NTFS don´t have owner or group?.
Thanks in advance
Andres