Inheriting security permissions from target directory withCygwin

Tevfik Karagülle tevfik at itefix.no
Mon May 16 20:48:44 GMT 2005


Hi,

Try to use ssh-tunnelling and rsync daemon, instead of built-in ssh support
in rsync. 

OpenSSH on cygwin must have CYGWIN=ntsec to make things work. This is
inherited by built-in rsync ssh  on server side. It results with unwanted
adjustment of your files' permissions. When you use rsync daemon, it is
possible to specify CYGWIN=nontsec during initialization (cygrunsrv). You
can then establish an ssh tunnel to send rsync requests to this daemon.

Regards Tev

cwRsync maintainer

http://itefix.no/cwrsync



> -----Original Message-----
> From: rsync-bounces+tevfik=itefix.no at lists.samba.org 
> [mailto:rsync-bounces+tevfik=itefix.no at lists.samba.org] On 
> Behalf Of Mark Thornton
> Sent: 16. mai 2005 21:40
> To: Michael Carr
> Cc: rsync at lists.samba.org
> Subject: Re: Inheriting security permissions from target 
> directory withCygwin
> 
> Michael Carr wrote:
> 
> > I am trying to upload a directory structure with rsync via ssh from 
> > one domain to another. I would like the target files (which 
> may or may 
> > not already exist on the target machine) to assume the security 
> > permissions of the target directory they are placed into, since the 
> > target machine lies in a different domain.
> >  
> > Currently, when I upload these files they seem to assume 
> some strange 
> > random security settings that I must invariably repair, 
> which leads to 
> > a lot of work for me.
> >  
> > I tried using CYGWIN=nontsec on both the source and target 
> sides and 
> > that didn't seem to have any effect. Is there some rsync 
> switch that 
> > tells rsync on the target to ignore security settings on 
> the files and 
> > to just use the security settings of the parent directory they are 
> > placed into?
> >  
> > I tried using scp and it gives the same effect as rsync -- strange 
> > random security settings on the target files.
> >  
> > I am using the latest cygwin version and have tried rsync 2.6.3, 
> > 2.6.4, and 2.6.5pre1.
> >  
> >     Thanks!!
> >     Michael Carr
> 
> I can confirm there is a problem. Using CYGWIN=nontsec worked 
> until recently but now appears broken. It is very frustrating.
> 
> Mark Thornton
> 
> 
> 
> --
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.11.11 - Release Date: 
> 16/05/2005
> 
> --
> To unsubscribe or change options: 
> https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: 
> http://www.catb.org/~esr/faqs/smart-questions.html
> 




More information about the rsync mailing list