On Fri, 2009-05-22 at 22:06 +0800, Daniel.Li wrote:
> On Fri, 2009-05-22 at 13:10 +0200, Paul Slootman wrote:
> > On Fri 22 May 2009, Daniel.Li wrote:
> > > On Fri, 2009-05-22 at 10:47 +0200, Paul Slootman wrote:
> > > > > 
> > > > > access("/home/admin/test",F_OK)
> > > > > 
> > > > > Result: Failed with -1, just mean the test folder is NOT existed, but 
> > > > > it
> > > > > does exist.
> > > 
> > > > Perhaps at that point rsync has chroot()ed somewhere else?
> > > 
> > > I checked uid/gid just before my code, uid=0 gid=0. And I use hard coded
> > > path. 
> > 
> > None of those are relevant to my question... chroot() != setuid()
> 
> Humm... Got it. http://en.wikipedia.org/wiki/Chroot 
> 
> That's great. Seems to be the root cause. Report back when I have news.
> Late today :)

Sorry for the late reply. Had a fever, recently :(, but ok now :)

I have found it in clientserver.c. Thanks Paul :)

> 
> Thanks you :)
> > 
> > 
> > Paul
> -- 
> Daniel Li
> 
> 
> 
-- 
Daniel Li


-- 
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