X-Spam-Check-By: sourceware.org X-Antivirus-THENETMARK-Mail-From: jimmy AT freshstation DOT org via minoru.thenetmark.com X-Antivirus-THENETMARK: 1.25-st-qms (Clear:RC:0(72.165.177.90):SA:0(-3.9/4.3):. Processed in 5.227874 secs Process 62539) Message-ID: <44D7841A.8050206@freshstation.org> Date: Mon, 07 Aug 2006 14:19:06 -0400 From: Jimmy McMillan User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Linux to Windows Rsync Permission Problems Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com I've had this problem for some time now, and just getting around to doing something about it. I'll keep the description as brief as possible. I'm rsyncing from a linux server to a Windows XP machine's firewire drive via SSH\cygwin\rsync. The linux server pushs with the following command. /usr/local/bin/rsync -e ssh --recursive --verbose --delete --force --update /mnt/hd/mail_store/ jackcorn AT 192 DOT 168 DOT 66 DOT 99:/cygdrive/i/backups/webs_data/ 192.168.66.99 == My Workstation. (Windows XP + Cygwin) /cygdrive/i == 250GB firewire drive on my workstation. (NTFS) jackcorn == a Local user on my workstation. (Didn't want to bother with a domain account) it appears that any file owned by root once on it's NTFS filesystem after the backup can be opened successfully. However any file owned by vpopmail:vchkpw cannot be opened. -rw-r--r-- 1 root root 167851 2005-10-04 15:33 byebye.sh -rwx--x--x 1 vpopmail vchkpw 55996 2005-06-28 14:44 clearopensmtp* (In this case I can open byebye.sh on the firewire drive after the backup, but not the clearopensmtp) The only way I can access those files are to "Replace permission entries on all child....yatta yatta" under the Advanced Security Settings under windows. However there are a couple hundred thousand files in there and that can take some time. I've tried with the -g -o -p options with rsync and I've also tried using CYGWIN=nontsec or CYGWIN=ntsec under the windows Enviro Variables, with no luck. Is there anyway I can map the vpopmail user to a windows local user? Or does anyone know what else to do? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/