This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

rsync - trouble setting path in daemon modules


I've installed cygwin in C:\cygwin
I've managed to get rsync running as a cron job.
When I try to set the path variable for a module in the rsync daemon conf
(rsyncd.conf) to anything other than root, it fails.
When I try to set the path variable for a module in the rsync daemon conf
(rsyncd.conf) to point to anything outside root, relative to root, it fails.

The following are details of the module:

[mcnshare]
        path = /cygdrive/g/sharename
        comment = xxxxxxxxxxxxxx
        uid = rsynctest
        gid = nobody
        transfer logging = yes
        list = yes
        read only = false

I've tried the following for path:
1	//ServerName/ShareName
2	/cygdrive/g/ShareName
3	/cygdrive/g/RealDirectoryName
4	//g/ShareName
5	//g/RealDirectoryName
6	/TempDirectory	    # A sub directory of cygwin root

But nothing works unless I point it to root.
I can access sub directories of root if I specify them in the client rsync
statement.

Apologise if I'm missing something fundamental.


___________________________
Dan Gardner
Producer MCN online
http://www.motorcyclenews.com



--------------------------------------------------------------------------------
The information in this email is intended only for the addressee(s) named above.
Access to this email by anyone else is unauthorised.
If you are not the intended recipient of this message any disclosure, copying, 
distribution or any action taken in reliance on it is prohibited and may be unlawful. 

Emap plc and or its subsidiaries do not warrant that any attachments are free from 
viruses or other defects and accept no liability for any losses resulting from 
infected email transmissions.

Please note that any views expressed in this email may be those of the originator 
and do not necessarily reflect those of this organisation.
--------------------------------------------------------------------------------

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]