Kenneth Porter
2006-Mar-31 01:57 UTC
Can't chdir to directory on mapped share, no such directory?
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?
Kenneth Porter
2006-Apr-03 23:06 UTC
Can't chdir to directory on mapped share, no such directory? (SOLVED)
--On Thursday, March 30, 2006 4:52 PM -0800 Kenneth Porter <shiva@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.