Michael Carr
2005-May-12 17:30 UTC
Inheriting security permissions from target directory with Cygwin
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 -------------- next part -------------- HTML attachment scrubbed and removed
Mark Thornton
2005-May-16 19:40 UTC
Inheriting security permissions from target directory with Cygwin
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 CarrI 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
Possibly Parallel Threads
- [PATCH]: Cygwin: Allow sshd to switch user context without password
- File/Folder Ownership - Cygwin/Rsync - Is it possible to get around rsync taking file ownership?
- The server is configured to refuse --iconv
- [PATCH] Cygwin: Avoid implicit declaration warnings
- [PATCH]: Match Cygwin version check to reality