delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/04/11:28: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:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=SSUWRkx+lcKMWqbM
ULxRWROjfDTS+g1kpTYwd/wfaZtV0G9ghhZiXbUqXUEkRKbd27wKBwkAbtgOfJTg
SHZDRk41QvR/ahOR3bnI3/SKpVGxjB1HzgtyVhu6eNkzP50X28UQ/Nxlzbq5PR3I
Wr5ZfZkD4FffjF6sdiD7uagw3ME=
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:message-id:date:from:reply-to:mime-version:to
:subject:references:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=TIt9SqNLTCIJhhb0CEkjru
6Cevw=; b=SdeGsyBRMJIIabRTiBh+vsc77u0vNTq0omxegGFtKbdpO/1bjL0ciX
ZGwjevHusfCmCSnBy5OO0gdJtZoOalcdVdjUC7wJC07ocvp0jTIIV5wx5plTqf/g
6hoPJPaVvdxDLwuPLRsAHxp+8xtKXxypGIkhz+8LkAdBpqWaBULLk=
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=-1.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: vms173025pub.verizon.net
Message-id: <52F114EA.1070607@cygwin.com>
Date: Tue, 04 Feb 2014 11:27:22 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: How to remount hotplugged USB drive as noacl (for use with rsync)?
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>
In-reply-to: <lcr3b7$9vl$1@ger.gmane.org>

On 2/4/2014 11:09 AM, carolus wrote:
> On 2/4/2014 9:10 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
>
> Is this a "good thing" to do?  I find the following advice from the FAQ
> intimidating:
>
>   Therefore, the root directory evaluated by Cygwin itself is treated as an
> immutable mount point and can't be overridden in /etc/fstab... unless you
> think you really know what you're doing. In this case, use the override flag
> in the options field in the /etc/fstab file. Since this is a dangerous thing
> to do, do so at your own risk.

This is talking about the root directory (/) for Cygwin, not the cygdrive
directory.

> Will this affect my permission-dependent stuff like ssh authentication?

If your home directory is under the Cygwin root directory, then ssh
authentication won't be affected.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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