Wernicke, Heino (CGS) wrote:>Thank you! >That helps a little. But the permissions on target machine >will not be inherited from parent folder as I wanted. >Uhm... removing ntsec shouldn't touch permissions at all... can't just you use "chmod -R 755 *" after rsyncing? -- Lapo 'Raist' Luchini lapo@lapo.it (PGP & X.509 keys available) http://www.lapo.it (ICQ UIN: 529796) -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3267 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.samba.org/archive/rsync/attachments/20020522/81e2378b/smime.bin
tim.conway@philips.com
2002-May-23 06:07 UTC
AW: rsync without syncing file permissions under W2K
I see. you're saying that rsync doesn't affect permissions. I assume you have ntea and ntsec in your $CYGWIN, so you can actually see the atrributes. Otherwise, all files will show as -rw-r--r--, unless they have an executable extension or begin with an interpreter (#!) line, and all directories will show as drwxr-xr-x, no matter what the windows permissions are, and you may actually be getting the behaviour you want, and not really have a problem. If that's not the case, make sure you have the parent directory set with the permissions you want, and that it is set to bequeath those permissions on all new items created under it. If neither of them is the problem, i'm stumped. 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> 05/23/2002 01:46 AM To: Tim Conway/LMT/SC/PHILIPS@AMEC cc: Subject: AW: rsync without syncing file permissions under W2K Classification: Hi, Ok, I tried it. It seems to make no difference. If I use -p resp. -a or if I don't, the permissions on target files will be set the following manner: transport: rw (account under which the rsyncd runs) everyone: r none: r It seems to be independently of the source file permissions as I would expect. Heino> -----Urspr?ngliche Nachricht----- > Von: tim.conway@philips.com [mailto:tim.conway@philips.com] > Gesendet: Donnerstag, 23. Mai 2002 00:53 > An: Wernicke, Heino (CGS) > Cc: 'rsync@lists.samba.org' > Betreff: Re: 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,2545 > 1,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 > > > > > -- > To unsubscribe or change options: > http://lists.samba.org/mailman/listinfo/rsync > Before posting, read: > http://www.tuxedo.org/~esr/faqs/smart-questions.html >