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@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-03-28 11:12, lynn wrote:
On 27/03/12 01:49, Anton Aylward wrote:
-a means archive.
No no. -a means all. The whole damn lot. dot files, permissions, owners. The lot!
Yes, yes :-) from man cp: -a, --archive same as -dR --preserve=all - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk9zbYIACgkQIvFNjefEBxrB7gCgiaXaBfcLYQLer7tF4XgyonpS CTsAn38gTPknkyfwkOcAWwMXlZ9gHU8l =dDSP -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Carlos E. R.
-
lynn