Ownership lost: linux -> windows -> linux
tevfik at www.itefix.no
Thu Jan 15 14:45:22 GMT 2004
I want to make sure that cwRsync is NOT a separate product/solution or
whatever. It is simply a packaging of rsync on cygwin to make
deployment/installation easier. cwRsync is a minimalist environment and does
not support keeping ownership information between transfers.
You should go for a full blown cygwin environment and use CYGWIN=ntsec if
you really find out what support you can expect. I suspect that you may have
a limited success, since Cygwin is a Linux emulation layer on Windows and
Windows with NTFS filesystem has a quite complicated ACL system.
---------- Original Message -----------
From: Pier Paolo Glave <glavepp at yahoo.com>
To: rsync at lists.samba.org
Sent: Thu, 15 Jan 2004 08:06:06 -0800 (PST)
Subject: Ownership lost: linux -> windows -> linux
> I have a problem of loss of file ownership with rsync.
> For some odd reasons, I have to use a windows machine
> as rsync server, and to backup/restore a filesystem
> from/to a linux client.
> All files in my linux filesystem are owned by root,
> with gid root.
> If I save the files onto the windows rsync server from
> linux using rsync, and then restore them back to
> linux, the ownership for all files changes, becoming
> uid=400, gid=401.
> All other file attributes are correctly preserved,
> including read/write permissions and even setuid bits.
> Could you help me solving this problem?
> On windows I'm using cwRsync 1.1.0 on a 2003 server.
> Here is my rsyncd.conf on windows:
> ------- start of rsyncd.conf
> use chroot = false
> strict modes = false
> hosts allow = *
> log file = rsyncd.log
> pid file = rsyncd.pid
> path = /cygdrive/c/cwrsync/data/mydir
> read only = false
> transfer logging = yes
> ------- end of rsyncd.conf
> On linux I'm using rsync 2.5.6, launching it with this
> /usr/local/bin/rsync -a -v -c --progress --stats
> rsync://<IPADDRESS>/<ALIAS> <LOCALDIR>
> Thank you for any help.
> Pier Paolo Glave
> Do you Yahoo!?
> Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
> To unsubscribe or change options:
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
------- End of Original Message -------
More information about the rsync