Can't chdir to directory on mapped share, no such directory? (SOLVED)

Kenneth Porter shiva at sewingwitch.com
Mon Apr 3 23:06:18 GMT 2006


--On Thursday, March 30, 2006 4:52 PM -0800 Kenneth Porter 
<shiva at sewingwitch.com> wrote:

> I'm using cwRsync which incorporates rsync-2.6.7 with Cygwin. I've got it
> set up as a server and it works for local directories but when I try to
> set up a module with path /cygdrive/m/dirname it tells me that it can't
> chdir to that path, error 2, no such file or directory. I copied Cygwin
> mount and ls to the machine and mount reports that /cygdrive/m is indeed
> there, and ls can successfully list the directory. I copied bash to the
> machine and can cd to that directory and ls it. So what is rsyncd doing
> different that it fails the access?

The issue here was that the service hadn't been launched with an account 
that had access to the share. The default installer creates a cwrsync 
account which didn't have rights to the domain's shares.


More information about the rsync mailing list