Re: Using rsync to mirror directories where root owns file, using non-root user to initiate session

2012-06-20 Thread Karl O. Pinc
On 06/20/2012 10:40:57 PM, Kevin Korb wrote: > On 06/20/12 21:53, Karl O. Pinc wrote: > > On 06/20/2012 05:29:09 PM, Kevin Korb wrote: > > Somehow or another you need root access on the remote side in order > > to properly set permissions. > Not permissions, ownership. Quite right. I shouldn'

Re: Using rsync to mirror directories where root owns file, using non-root user to initiate session

2012-06-20 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/20/12 21:53, Karl O. Pinc wrote: > On 06/20/2012 05:29:09 PM, Kevin Korb wrote: >> http://www.sanitarium.net/rsyncfaq/#sudo > > Along these lines... > > Somehow or another you need root access on the remote side in order > to properly set permi

Re: Using rsync to mirror directories where root owns file, using non-root user to initiate session

2012-06-20 Thread Karl O. Pinc
On 06/20/2012 05:29:09 PM, Kevin Korb wrote: > http://www.sanitarium.net/rsyncfaq/#sudo Along these lines... Somehow or another you need root access on the remote side in order to properly set permissions. You can use ssh public keys to invoke a rsync daemon. In /root/.ssh/authorized_keys you put

Re: Using rsync to mirror directories where root owns file, using non-root user to initiate session

2012-06-20 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://www.sanitarium.net/rsyncfaq/#sudo On 06/20/12 18:26, PEOPLES, MICHAEL P wrote: > I have spent a day researching and attempting to debug this issue. > I am hoping someone can tell me how (or disabuse me of the delusion > that it's possible) to d

Using rsync to mirror directories where root owns file, using non-root user to initiate session

2012-06-20 Thread PEOPLES, MICHAEL P
I have spent a day researching and attempting to debug this issue. I am hoping someone can tell me how (or disabuse me of the delusion that it's possible) to do the following: - Mirror the contents of a directory on one server to a remote server where there are diverse ownership and permission

Re: change UID+GID on target system?

2012-06-20 Thread josephj
If that's a concern, then you could just use a service like dyndns to get an address that's reliable. For non-commercial use, it's free. Joe > Because the connection is very unreliable, laptop 2 has a > dynamic IP, and I am paranoiac and don't want to have > > sshd: ALL > > in hosts.allow on Lap

RE: change UID+GID on target system?

2012-06-20 Thread Voelker, Bernhard
Uwe Brauer wrote (June 20, 2012 12:57 PM): > >> On Tue, 19 Jun 2012 13:50:00 +, "Voelker, Bernhard" > >> wrote: > >>> Oh I see misunderstanding then. So what you propose is >>> basically a chown of the directory in question? > >> no. > > > Why not? I am confused. > > If I do, as

Re: change UID+GID on target system?

2012-06-20 Thread Uwe Brauer
>> On Tue, 19 Jun 2012 13:50:00 +, "Voelker, Bernhard" >> wrote: >> Oh I see misunderstanding then. So what you propose is >> basically a chown of the directory in question? > no. Why not? I am confused. If I do, as user1 knowing passwd user2 Laptop1 rsync -auvz /home/oub/sour