Re: why are these files being transfered

2003-05-31 Thread Harry Putnam
Harry Putnam [EMAIL PROTECTED] writes:

 But when I run rsync it appear to want to transfer massive numbers of
 files.

  rsync -avvzC /root/cvs_buf.t/ /root/base.t 21| tee  /root/cvs_buf.test
  [...]
  sol/etc/SYS_ENV
  [...] 

I tested it on a real cvs checked out module and just as I suspected
after rsyncing from the buffer directory where diff reports no
differnces.  Then try cvs commit.   Cvs demands every file be
commited.  Surely this is not what is supposed to happen.

rsync man pages indicate rsync will work nicely with cvs.  Further
with rsyncs elaborate algorythems for testing for differences why are
I seeing the massive transfer when files are the same?

-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Rsync / SSH / Cygwin .. permission problems..

2003-05-31 Thread jw schultz
On Sat, May 31, 2003 at 09:48:47AM +0200, Lapo Luchini wrote:
 Actually it seems to me the opposite: it has perms also without -p... 
 maybe it is the default?
Without -p new files get perms of source as modified by
umask.

-- 

J.W. SchultzPegasystems Technologies
email address:  [EMAIL PROTECTED]

Remember Cernan and Schmitt
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: why are these files being transfered

2003-05-31 Thread jw schultz
On Sat, May 31, 2003 at 01:04:40AM -0700, Harry Putnam wrote:
 Harry Putnam [EMAIL PROTECTED] writes:
 
  But when I run rsync it appear to want to transfer massive numbers of
  files.
 
   rsync -avvzC /root/cvs_buf.t/ /root/base.t 21| tee  /root/cvs_buf.test
   [...]
   sol/etc/SYS_ENV
   [...] 
 
 I tested it on a real cvs checked out module and just as I suspected
 after rsyncing from the buffer directory where diff reports no
 differnces.  Then try cvs commit.   Cvs demands every file be
 commited.  Surely this is not what is supposed to happen.
 
 rsync man pages indicate rsync will work nicely with cvs.  Further
 with rsyncs elaborate algorythems for testing for differences why are
 I seeing the massive transfer when files are the same?
 
Hmm, -a == -rlptgoD  could it be that the timestamp, owner,
group or perms differ?

-- 

J.W. SchultzPegasystems Technologies
email address:  [EMAIL PROTECTED]

Remember Cernan and Schmitt
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


-p option in man and help [Was: Rsync / SSH / Cygwin .. permissionproblems..]

2003-05-31 Thread Lapo Luchini
jw schultz wrote:

On Sat, May 31, 2003 at 09:48:47AM +0200, Lapo Luchini wrote:
 

Actually it seems to me the opposite: it has perms also without -p... 
maybe it is the default?
   

Without -p new files get perms of source as modified by
umask.
Ohhh.
Maybe it's just me, but wouldn't
--p, --perms preserve permissions
+-p, --perms preserve permissions (do not filter 
them by umask)
be good for people that don't know it?

Lapo

--
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP  X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: Rsync / SSH / Cygwin .. permission problems..

2003-05-31 Thread Lapo Luchini
Oswell, Michael wrote:
[sorry for the full quote, but I'm CCing the cygwin mailing list too]
I am attempting to use rsync to mirror data between several windows 2000
and windows XP systems.  I am a UNIX person by nature, so decided the
easiest way to go about doing this would be to use Cygwin with cron and ssh
running as services, then run the rsync connection nightly through cron.
Cygwin is installed on both systems and works perfectly.  OpenSSH is
installed and running, and the rsync user we created is able to ssh using
password-less keys between the 2 systems.  When I run rsync, it correctly
pulls the data down that I want.  The problem is that there are NO
permissions on the files that are pulled down, so they are basically
inaccessable.  

I have tried with and without the -p option, hoping the files would inherit
parent directory permissions if I didn't use it, but it doesn't appear to do
so. The command as I run it is;
rsync -rlztpv --rsh=ssh --delete remote-fs:/path/to/the/files .
or
rsync -rlztv --rsh=ssh --delete remote-fs:/path/to/the/files .
With the p option included, there are no permission bits set on the files
whatsover.  Without the p option, it sets the files to 0200.
Any ideas here?  Both systems have the Domain groups in the groups file, and
have the  rsync user as well as local users in the passwd file.  I would
prefer to not have to have ALL domain users in the password file for cygwin
if possible.
I have also tried this from a DOS shell instead of a cygwin shell with the
same results..
Thanks in advance...
 

Are the files on NTFS?
Can you give some more detail about the CygWin installation?
Whetherver you use ntsec, release number of cygwin and rsync... (to 
include al this you can attach the output of 'cygcheck -s')

BTW: latest packages are cygwin-1.3.22-1 (which afair defaults to ntsec) 
and rsync-2.5.6-1

--
Lapo 'Raist' Luchini
[EMAIL PROTECTED] (PGP  X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html