Re: rsync using sudo.

2009-02-01 Thread Gordon Messmer
gary artim wrote: The problem: the local files get permission denied on root owned files subdirs. If I add sudo /usr/bin/rsync --stats -ae ssh --rsync-path=sudo /usr/bin/rsync /my rs...@host1:/backup/my I get prompted for a ssh passwd. Has anyone solved or done this? sudo rsync --stat -ae

Re: rsync using sudo.

2009-02-01 Thread gary artim
On Sun, Feb 1, 2009 at 12:20 AM, Gordon Messmer yiny...@eburg.com wrote: gary artim wrote: The problem: the local files get permission denied on root owned files subdirs. If I add sudo /usr/bin/rsync --stats -ae ssh --rsync-path=sudo /usr/bin/rsync /my rs...@host1:/backup/my I get

Re: rsync using sudo.

2009-02-01 Thread gary artim
On Sun, Feb 1, 2009 at 9:42 AM, gary artim gar...@gmail.com wrote: On Sun, Feb 1, 2009 at 12:20 AM, Gordon Messmer yiny...@eburg.com wrote: gary artim wrote: The problem: the local files get permission denied on root owned files subdirs. If I add sudo /usr/bin/rsync --stats -ae ssh

rsync using sudo.

2009-01-31 Thread gary artim
/usr/bin/rsync --stats -ae ssh --rsync-path=sudo /usr/bin/rsync /my rs...@host1:/backup/my I'm running the above command as user rsync (on both the local and remote system). Both rsync users are in /etc/sudoers and permitted to run the command as root /usr/bin/rsync and I have ssh-kegen stuff

Re: rsync using sudo.

2009-01-31 Thread Mikkel L. Ellertson
gary artim wrote: /usr/bin/rsync --stats -ae ssh --rsync-path=sudo /usr/bin/rsync /my rs...@host1:/backup/my I'm running the above command as user rsync (on both the local and remote system). Both rsync users are in /etc/sudoers and permitted to run the command as root /usr/bin/rsync and

Re: rsync using sudo.

2009-01-31 Thread gary artim
On Sat, Jan 31, 2009 at 5:54 PM, Mikkel L. Ellertson mik...@infinity-ltd.com wrote: gary artim wrote: /usr/bin/rsync --stats -ae ssh --rsync-path=sudo /usr/bin/rsync /my rs...@host1:/backup/my I'm running the above command as user rsync (on both the local and remote system). Both rsync

Re: rsync using sudo.

2009-01-31 Thread gary artim
On Sat, Jan 31, 2009 at 8:43 PM, gary artim gar...@gmail.com wrote: On Sat, Jan 31, 2009 at 5:54 PM, Mikkel L. Ellertson mik...@infinity-ltd.com wrote: gary artim wrote: /usr/bin/rsync --stats -ae ssh --rsync-path=sudo /usr/bin/rsync /my rs...@host1:/backup/my I'm running the above command

Re: rsync using sudo.

2009-01-31 Thread gary artim
On Sat, Jan 31, 2009 at 9:27 PM, gary artim gar...@gmail.com wrote: On Sat, Jan 31, 2009 at 8:43 PM, gary artim gar...@gmail.com wrote: On Sat, Jan 31, 2009 at 5:54 PM, Mikkel L. Ellertson mik...@infinity-ltd.com wrote: gary artim wrote: /usr/bin/rsync --stats -ae ssh --rsync-path=sudo