rsync with different users - Debian

This is a discussion on rsync with different users - Debian ; -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm using Debian in one box and Slackware in another. Both are desktops. In both I have one account and I'd need to rsync the contents of one directory in one to the ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: rsync with different users

  1. rsync with different users

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Hi,

    I'm using Debian in one box and Slackware in another. Both are desktops.

    In both I have one account and I'd need to rsync the contents of one
    directory in one to the other.

    The problem is my uid and gid are different between the two
    distributions, so I have to su and then chown the files everytime I rsync.

    What do you recommend: change uid for one account? anything else?

    Luis P. Mendes

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.1 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD8DBQFD4gTWHn4UHCY8rB8RAul6AJ93Xgad62ofHHfH1tXiI1 FfqxKe9QCggD9P
    DvTlDztrnR7WVkRLEC6nV4E=
    =XYHY
    -----END PGP SIGNATURE-----

  2. Re: rsync with different users

    On Thu, 02 Feb 2006 13:10:46 +0000, Luis P. Mendes wrote:

    > The problem is my uid and gid are different between the two
    > distributions, so I have to su and then chown the files everytime I rsync.


    Don't know about rsync but maybe unison could be a viable
    replacement.


    gregor
    --
    .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
    : :' : infos zur usenet-hierarchie at.*: http://www.usenet.at/
    `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
    `- NP: Tom Waits: Baby Gonna Leave Me

  3. Re: rsync with different users

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1


    | rsync filename other_user@other_host:
    | rsync other_user@other_host:filename .
    |
    | or create ~/.ssh/config containing
    | Host other_host
    | User other_user

    I forgot to mention that I use a flash memory usb pen as a 'middle-man'.

    debian -- rsync to --> pen -- (then, at other place) --> rsync to
    slackware. And vice-versa.

    The name of the user is the same, but the uid not, nor is the gid.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.1 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iD8DBQFD4ldkHn4UHCY8rB8RAizkAKCdF8gEwV5KJ4ze8H2ycv P7Jij8NgCglluf
    7D6VN+1EglCt359vO2tfd/M=
    =aOGR
    -----END PGP SIGNATURE-----

+ Reply to Thread