Mailinglist Archive: opensuse (3666 mails)

< Previous Next >
Re: [SLE] Copying data and permisions
  • From: Jerry Feldman <gaf@xxxxxxx>
  • Date: Thu, 10 Mar 2005 15:44:55 -0500
  • Message-id: <200503101544.55351.gaf@xxxxxxx>
On Thursday 10 March 2005 3:36 pm, Scorpy wrote:
> Is there a way to copy files form one server to another and to leave
> permisions and owners in place.
> I have the same users/groups on other server.
Yes.
If you use NFS, the cp(3) command has a -p (or --preserve) option to
preserve permissions. Rsync and scp also have the -p option as does tar.

--
Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9

< Previous Next >
References