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=Hvvb1N1nc6kghLuAkvLyNDq03ZJfF5 ciRf7/8jkKww0zywdzPBVtI6CQytaW1hxeUX8H3wIEw25m23xi+x8u/Fhacb8lBb VsSRadOokHBIR517V7idCfmlp/IhvMPsn6bJeYf+j2fyjUr1bR6E0Qc3j1XSnqqG MWBXHTbiMiNAc= 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=fNTGhiBioLBnl2ejVogrlvgD4Hs=; b=sFUV JGJyVs9WKAORnGLZ64Uu6bBTJl8uxwPCIHsnQp/xPcFNQsKoFb0QhnqbKmvCFGBD SiEs8fSJXCaUtx3Tc7Cg+VuFiDt3wDnBNNi2dqy0XTJkCxS9zGQZviZ/8tfUIVjQ NAUamD/MvOwM5DFaNr8f+iJceJiWjhyqnEgOCkI= 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 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.3 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 Subject: Re: How to remount hotplugged USB drive as noacl (for use with rsync)? Date: Tue, 04 Feb 2014 10:42:29 -0600 Lines: 34 Message-ID: References: <274460581 DOT 20140204191024 AT mtu-net DOT ru> <52F114EA DOT 1070607 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 In-Reply-To: <52F114EA.1070607@cygwin.com> X-IsSubscribed: yes On 2/4/2014 10:27 AM, Larry Hall (Cygwin) wrote: > 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. > I'm a bit fuzzy about the distinction and haven't time at the moment to think about it. Will the line proposed above for /etc/fstab do the right thing? -- 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