small problem that I'm having...
jw at pegasys.ws
Wed Jan 29 02:11:49 EST 2003
On Tue, Jan 28, 2003 at 09:57:17AM -0500, Patrick Amirian wrote:
> Well I have no permission problems... I'm running my commands as root.
> With path = /a/b/ it didn't work but it worked with path = /a/b/*
link_stat . : Permission denied
means you do have a permissions problem.
Unless you have uid = root in your module options rsyncd
will change its uid to that of an ordinary user when serving
that module. The user "nobody" is the default.
> -----Message d'origine-----
> De?: rsync-bounces+patrick.amirian=cognicase.ca at lists.samba.org
> [mailto:rsync-bounces+patrick.amirian=cognicase.ca at lists.samba.org] De
> la part de jw schultz
> Envoy??: 28 janvier, 2003 09:39
> ??: rsync at lists.samba.org
> Objet?: Re: RE : RE : small problem that I'm having...
> On Tue, Jan 28, 2003 at 09:00:35AM -0500, Patrick Amirian wrote:
> > FYI.
> > Yeah actually I found my mistake.
> > In the config file I had path=/blah/blah/
> > The real thing is path=/blah/blah/*
> > It worked.
> Poor solution. Common error. Much better to fix the
> permissions on /blah/blah
> Using * means that it will do shell expansion and not match
> any dot files the top level directory. That may be
> acceptable in some cases but don't try it on home
> directories or web server trees with .htaccess files.
> Using * as shorthand for all files and dirs with rsync and
> similar tools is a bad habit that will bite you in the
> anterior when you are least expecting it.
> J.W. Schultz Pegasystems Technologies
> email address: jw at pegasys.ws
> Remember Cernan and Schmitt
> To unsubscribe or change options:
> Before posting, read:
> To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
J.W. Schultz Pegasystems Technologies
email address: jw at pegasys.ws
Remember Cernan and Schmitt
More information about the rsync