delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/10/15:28:54

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 <schulman DOT andrew AT epamail DOT epa DOT gov>
Subject: Re: Can unison syncronize permission bits
Date: Tue, 10 Feb 2009 15:28:24 -0500
Lines: 19
Message-ID: <8jo3p49qia5lptus24lj845kk4ab46npnm@4ax.com>
References: <BAY126-W5598D0385B2DAD902CDB79CBBD0 AT phx DOT gbl> <ueiy6pgd2 DOT fsf AT bofh DOT bofh DOT org>
Mime-Version: 1.0
X-Archive: encrypt
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019