delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/11/15/04:05:48

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Richard Ivarson <RiIvarson AT gmail DOT com>
Subject: Re: 1.7 - noacl for cygdrive
Date: Sat, 15 Nov 2008 10:04:39 +0100
Lines: 30
Message-ID: <gfm3b9$6ll$1@ger.gmane.org>
References: <001a01c945d8$03acf990$0b06ecb0$@com> <20081114092104 DOT GC19442 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
In-Reply-To: <20081114092104.GC19442@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Corinna Vinschen schrieb:
> On Nov 13 14:37, Rob Bosch wrote:
>> Is there a way to specify noacl for any cygdrive referenced path?  I have
>> used rsync quite a bit in the past and rather than specifying mount point
>> such as /var, I have just referenced the path to the directory to store
>> (e.g. /cygdrive/e/data/backup01).  This allows me to put the data anywhere
>> on a drive (mapped or local) without worry about maintaining an fstab entry.
>> I'd like to just use the NT permissions and have them inherited rather than
>> my cygwin process resetting them.   
>>
>> Under 1.7 the permissions are being treated as POSIX because I don't have a
>> cygdrive entry in fstab.  How can I disable POSIX for /cygdrive references?
> 
> By adding a /cygdrive entry to /etc/fstab, for instance
> 
>   none /cygdrve cygdrive user,noacl,posix=0 0 0
          /cygdrive


Corinna, thanks to your post I did that now, but unfortunately RSYNC still 
resets my NT permissions.
Like Rob I use cygdrive paths.

Rob, how did you manage to keep the NT permissions with your RSYNC? For me it 
always sets own permissions, which then conflicts with my originaly NT 
permissions. Do you have to specify any special RSYNC parameter?

P.S. How can I see if my Cygwin has got version number "1.7" ?

-Richard


--
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