delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/04/16:42:13

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; q=dns; s=default; b=s6KmaRQqoLC3xRCuLgdvLjxmqefSl2
4E7N8rCUGlvn2jAn4KXGtycJ2V/ft0zI2ddOkiJog7KJ6d60e6c04RffZRlIwFF2
1cBOF0Tvl1OXy62PwI5dS3+DKFN1PULwFqo1AErieEBTinLIFpIizvVWK0reRIiq
VPV6/kZ+XvTl4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding
:in-reply-to; s=default; bh=HRdNapURi6uh0zeH2vXSYKqGPEw=; b=ikND
5JK7Yqixamm1+ufCOtOS6Cghzdbn3glnXcFoI4eMEPTeXSfZDyG+ohhORwiY33DV
X2Q7F8FOIPPz8Vu7UzR5AOfhE7XbHESH/nQFdfQIXMtuUrwH+jMC23zL+FrExakL
eo1Kq7NqZhKnIkPxpclwFX9+7at83PHWwkG8PXA=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: carolus <worwor AT bellsouth DOT net>
Subject: Re: How to remount hotplugged USB drive as noacl (for use with rsync)?
Date: Tue, 04 Feb 2014 15:41:24 -0600
Lines: 23
Message-ID: <lcrmpt$3ka$1@ger.gmane.org>
References: <lcquk0$a6o$1 AT ger DOT gmane DOT org> <274460581 DOT 20140204191024 AT mtu-net DOT ru> <lcr3b7$9vl$1 AT ger DOT gmane DOT org> <255901706 DOT 20140204205005 AT mtu-net DOT ru>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1
In-Reply-To: <255901706.20140204205005@mtu-net.ru>
X-IsSubscribed: yes

On 2/4/2014 10:50 AM, Andrey Repin wrote:
>>>>>   How can one remount a hotplugged NTFS external USB drive as noacl?  (I
>>>>> >>>  >    take it this is necessary to get sensible Windows permissions when using
>>>>> >>>  >    rsync for backup.  If not, please correct me.)
>>> >>  Change the /cygdrive entry in /etc/fstab
>>> >>  Then you'll get normal Windows permissions everywhere, except, perhaps, the
>>> >>  Cygwin root.
>> >  Is this what you mean?
>> >  none /cygdrive cygdrive binary,posix=0,user,noacl,override 0 0
> No need for override. This is how I have it set (I prefer just /<drive_letter>
> over/cygdrive/<...>):
>
> none    /       cygdrive        binary,posix=0,noacl    0       0
>

Thanks.  I've done that.  Presumably it solves my problem, though I 
haven't yet tried an external backup. Nothing seems changed as viewed 
from within Cygwin, and ssh still works.

> You're not remounting the Cygwin root.

I'm confused by this statement. Isn't /cygdrive/c/cygwin/ the same as 
Cygwin root?  Won't it inherit the noacl property?


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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