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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=vDb+sSMSAUCnf33o J8hFBtFfAd6PtgyGHA2lnPloInq3IE9w8aTX3RsyPFmrEhixc1HV1bsdlvv048qu +RN6WTuwo+kUvYjBMaqmsR7RnxzQ/YfAT+H5NeMRmladDElZCphTF6tn93K9M42Q Y4Vy0uGVb/c7pzprl6SMb9z8RJg= 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:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=JwBqcPTsEf3kLwHJSH7eAX UDsro=; b=j5w7L+rvd1muWeA1UxR9kdGSxw5aLWWZkas5gGU9m5VXJyiFxLmodk KfGfEt3tqlpM8kCT+qx8J82QTYT4sTxGKhkJ7FePmx7BLUZwrUv7wPQ785mN7I3+ 09LgZ0dlt1GZWsAfUhL2UccS03S/0nJm4tVUFEc1ggK6hl/GcgriI= 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=4.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Date: Tue, 4 Feb 2014 20:50:05 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <255901706.20140204205005@mtu-net.ru> To: carolus , cygwin AT cygwin DOT com Subject: Re: How to remount hotplugged USB drive as noacl (for use with rsync)? In-Reply-To: References: <274460581 DOT 20140204191024 AT mtu-net DOT ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, carolus! >>> > 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 / over /cygdrive/<...>): none / cygdrive binary,posix=0,noacl 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. You're not remounting the Cygwin root. This paragraph does not apply here. However, there's a section explicitly dealing with caveats of using cygdrive prefix http://cygwin.com/cygwin-ug-net/using.html#cygdrive > Will this affect my permission-dependent stuff like ssh authentication? No, it won't and actually there's little possibility it could, assuming you already have sane permissions on respective directories. In case of SSH keys handling, it's smart enough to check possible issues against real ACL's. -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 04.02.2014, <20:35> Sorry for my terrible english... -- 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