From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 98103 invoked by alias); 12 Sep 2015 01:54:08 -0000 Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Vulgar and Unprofessional Cygwin-Talk List Mail-Followup-To: cygwin-talk@cygwin.com Received: (qmail 98093 invoked by uid 89); 12 Sep 2015 01:54:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.0 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yk0-f169.google.com Received: from mail-yk0-f169.google.com (HELO mail-yk0-f169.google.com) (209.85.160.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sat, 12 Sep 2015 01:54:06 +0000 Received: by ykei199 with SMTP id i199so108657683yke.0 for ; Fri, 11 Sep 2015 18:54:04 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.13.231.69 with SMTP id q66mr1960668ywe.69.1442022844268; Fri, 11 Sep 2015 18:54:04 -0700 (PDT) Received: by 10.13.212.207 with HTTP; Fri, 11 Sep 2015 18:54:04 -0700 (PDT) In-Reply-To: References: Date: Sat, 12 Sep 2015 01:54:00 -0000 Message-ID: Subject: The dangers of mounting From: Jan Bruun Andersen To: cygwin-talk@sourceware.org Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-q3/txt/msg00023.txt.bz2 So, I have just wasted several hours trying to figure out why a backup program kept screaming about access denied to my .bash_history. I learned about the intricacies of Windows' ICACLS utility. I refreshed my memory about ATTRIB. I rebooted. I reinstalled all of Cygwin. I deleted my .bash_history. And I still got an error message pointing to C:\cygwin\home\andersen\.bash_history. Then it hit me. I had mounted C:/Users on /home. So that .bash_history that I spent hours exercising, the one I had deleted, changed permissions on, was C:\Users\andersen\.bash_history, not C:\cygwin\home\andersen\.bash_history Now I'm off to bed.