X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: Can unison syncronize permission bits Date: Tue, 10 Feb 2009 15:28:24 -0500 Lines: 19 Message-ID: <8jo3p49qia5lptus24lj845kk4ab46npnm@4ax.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 > > Before complaining that unison does not syncronize the permission bits > > between my C: drive and my USB drive, I would like to ask if it should > > be able to do it? > > > > I have searched a lot, and found various indicators that it should be > > able, but also that it will not do it on "windows" systems. > > I think part of the answer lies in the file systems in question. Sorry I > don't have more to add at the moment. Right. Yes, Unison can synchronize permission bits in Cygwin-- see the -perms preference. However, this will only work if the underlying file system supports it. In particular, it won't work in Win9x, which doesn't support file permissions, or on a FAT file system (in either Windows or Linux), which also has no permissions. It should work fine on NTFS, subject to the limits of Cygwin's Unix permissions model-- see e.g. http://cygwin.com/cygwin-ug-net/highlights.html#ov-hi-perm. Andrew. -- 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/