directory with space

Matt McCutchen matt at mattmccutchen.net
Tue Jul 29 12:29:56 GMT 2008


On Tue, 2008-07-29 at 10:47 +0530, Shashi Kanth Boddula wrote:
> I am facing one problem with rsync. in /etc/rsyncd.conf file , one of
> my entry is like bellow.
> 
> path = /data/Knowledge Centre
> 
> With this, rsync report an error "chdir failed, no such directory".
> 
> Even i tried like bellow
> 
> path = /data/Knowledge\ Centre
> 
> with this also, it gives the same error ?
> 
> How to overcome this ? what is the right syntax ?

The first syntax works for me with rsync 3.0.3; I wonder why it doesn't
work for you.  Double-check that you have the path right and then run
the daemon under strace to confirm the path to which it is trying to
chdir.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/rsync/attachments/20080729/b5bc19b4/attachment.bin


More information about the rsync mailing list