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

2 things...

1  Why not just: rsync -avz --delete /etc/
user@hostname:/home/user/backup/etc/

2  Check to see if the user is forced into rrsync on the remote in
their ~/.ssh/authorized_keys or /etc/sshd_config or as their shell in
/etc/passwd

On 07/01/13 12:27, Grant wrote:
> I'm trying to get rsync to copy some files across the network to a 
> particular folder, but it always drops them in the user's home 
> directory and changes the folder permissions of the home directory 
> from drwxr-x--- to drwxr-xr-x.  Can anyone tell me how to fix
> these problems?  I'm using rsync like this:
> 
> rsync -avz --delete --include '/etc' --exclude '/*' / 
> user@hostname:/home/user/backup/
> 
> - Grant
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
        Kevin Korb                      Phone:    (407) 252-6853
        Systems Administrator           Internet:
        FutureQuest, Inc.               [email protected]  (work)
        Orlando, Florida                [email protected] (personal)
        Web page:                       http://www.sanitarium.net/
        PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHRwpUACgkQVKC1jlbQAQdMmgCglHjS2+Aah4fOPa4H1U/HzUOG
bVAAoP46sEkL2q8AtbfAg5R8z4BSzdDz
=qxY9
-----END PGP SIGNATURE-----
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to