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=k9ykqQZAvALriEs+ryGK4i6ftjea3c 8W/MpOoNIIbfUG5LggSNI/tGoErcgM9XgUlkA6H0GMoCdTg6L70ChH2WQeh+QC4s C9630pfBcFPd8IeyrlKanyHVtXTBw6VugUBD5QfO3PJXHdvZhfPjD5eHmKRW7HEs uglrEDH/duvN8= 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=JVhtj0IdN+CFnzw9DnXSoOZaipc=; b=FDP5 fDAU2PiNuLchE5RL3RXwhcR24HVWAyrK4kmUVYHU820VKKVLnwZ2Yv0SIxJZzCd6 0y9E2MCnNJzcQ6W1uiC/ZpnvsqEqCcKeukAYtuVvUmKgz/kUbFMt7perv/IhFmC4 mBABdSOCoIyyOi/BxuMQwnmWZlR4VlJ5BE+nFwE= 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:09:18 -0600 Lines: 24 Message-ID: References: <274460581 DOT 20140204191024 AT mtu-net DOT ru> 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: <274460581.20140204191024@mtu-net.ru> X-IsSubscribed: yes 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. Will this affect my permission-dependent stuff like ssh authentication? -- 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