Mailinglist Archive: opensuse (1445 mails)

< Previous Next >
Re: [opensuse] Re: how to change users home directory
On 27/03/12 01:49, Anton Aylward wrote:
lynn said the following on 03/26/2012 05:31 PM:
So what went wrong?

I change it to
mkdir /home2
cp -a /home/lynn /home2

-a means archive.

No no. -a means all. The whole damn lot. dot files, permissions, owners. The lot!

You should think about -p -- preserves mode,ownership,timestamps
and you should think about an option that is recursive (-r)
and you should think about an option that preserves the "dot" files

That is why I use rsync and not cp

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups