weird access function in rsync code.
Paul Slootman
paul+rsync at wurtel.net
Fri May 22 11:10:51 GMT 2009
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()
Paul
More information about the rsync
mailing list