Wernicke, Heino (CGS)
2002-May-21 23:59 UTC
rsync without syncing file permissions under W2K
Hi there, I'm playing arround with rsync under W2K in conjunction with the cygwin environment. What I want is to get rsync copy a folder tree from one W2K machine to another W2K machine through a firewall. I installed the cygwin on both machines and got the rsync running which is using an openssh connection with public key authentication. Everything works fine except for the assignment of file permissions on target machine. I want to copy the files from source to target machine and the file permissions on source shouldn't be copied to target machine. I want the permission from the target files to be inherited from there parent folders that already exists on target and have several permissions set. Has anyone an idea to accomplish that? I'm close to a give up :-( Heino
> > >I want >the permission from the target files to be inherited from there parent >folders that already exists on target and have several permissions >set. > >You could just try to start the receiving rsync with an empty CYGWIN environment (i.e. without CYGWIN=ntsec) so that security is not created. -- Lapo 'Raist' Luchini lapo@lapo.it (PGP & X.509 keys available) http://www.lapo.it (ICQ UIN: 529796)
tim.conway@philips.com
2002-May-22 15:55 UTC
rsync without syncing file permissions under W2K
Yes. don't tell rsync to preserve permissions. That means Don't use -p
(or -a, which implies -p).
Tim Conway
tim.conway@philips.com
303.682.4917
Philips Semiconductor - Longmont TC
1880 Industrial Circle, Suite D
Longmont, CO 80501
Available via SameTime Connect within Philips, n9hmg on AIM
perl -e 'print pack(nnnnnnnnnnnn,
19061,29556,8289,28271,29800,25970,8304,25970,27680,26721,25451,25970),
".\n" '
"There are some who call me.... Tim?"
"Wernicke, Heino (CGS)" <extern.heino.wernicke@volkswagen.de>
Sent by: rsync-admin@lists.samba.org
05/22/2002 12:54 AM
To: "'rsync@lists.samba.org'"
<rsync@lists.samba.org>
cc: (bcc: Tim Conway/LMT/SC/PHILIPS)
Subject: rsync without syncing file permissions under W2K
Classification:
Hi there,
I'm playing arround with rsync under W2K in conjunction with the
cygwin environment.
What I want is to get rsync copy a folder tree from one W2K machine
to another W2K machine through a firewall.
I installed the cygwin on both machines and got the rsync running
which is using an openssh connection with public key authentication.
Everything works fine except for the assignment of file permissions
on target machine.
I want to copy the files from source to target machine and the file
permissions on source shouldn't be copied to target machine. I want
the permission from the target files to be inherited from there parent
folders that already exists on target and have several permissions
set.
Has anyone an idea to accomplish that?
I'm close to a give up :-(
Heino
--
To unsubscribe or change options:
http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html