I want to thank you. Making the changes you suggested worked great.

On Thu, 22 Feb 2001, Mikkel L. Ellertson wrote:

> On Thu, 22 Feb 2001, Gary Nielson wrote:
> 
> > I am setting up rsync to copy files from one computer on my network to
> > another. It works great when I run the command as root on the client
> > machine to copy over my home directory:
> >
> >  rsync -avzr gnielson@nielson::home/gnielson /home/mirror/gnielson
> >
> > but when I try to copy over my entire home directory to my client machine
> > as root, running:
> >
> > rsync -avzr root@nielson::home /home/mirror/gnielson
> >
> What happens if you use
>  rsync -avzr root@nielson::home /home/mirror/
> >
> > I get Permission denied errors when rsync opens directories or attempts to
> > read links, even in the gnielson home dir I could successfsully do the
> > previous way.
> >
> > Is there something wrong with my configuration on my server machine?
> >
> > Here is my rsyncd.conf file:
> >
> > motd file = /etc/rsyncd.motd
> > log file = /var/log/rsyncd.log
> > pid file = /var/run/rsyncd.pid
> > lock file = /var/run/rsync.lock
> >
> > [home]
> > hosts allow = 192.168.8.15/255.255.0.0
> > hosts deny = *
> > comment = My Own Rsync Server
> > max connections =4
> > path = /home
> > comment = home dirs
> > read only = yes
> > list = yes
> > secrets file = /etc/rsyncd.secrets
> >
> >
> > my rsyncd.secrets file contains:
> >
> > gnielson:password
> > root:password
> >
> > I thought that by including the root password in my secrets file I would
> > be able to copy files across many home dirs, logged on as root on the
> > client machine?
> >
> If I am reading the docs right, the secrets file is only used if you use
> the "auth users" option.  You may also want to look at the uid and gid
> options.
> 
> 
> I have not used the server mode of rsync, so I am guessing here.
> But I suspect that if you try using
>  rsync -avzr root@nielson::home /home/mirror/
> some of your problems may go away.
> 
> Mikkel
> 

-- 
Gary Nielson
[EMAIL PROTECTED]






_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to