This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
The dangers of mounting
- From: Jan Bruun Andersen <jan_bruun_andersen at jabba dot dk>
- To: cygwin-talk at sourceware dot org
- Date: Sat, 12 Sep 2015 03:54:04 +0200
- Subject: The dangers of mounting
- Authentication-results: sourceware.org; auth=none
- References: <CAA3tTg8JnTnO-pU28iz1RLo46UqMazXWDWoo-qAbd3i+=m_JUQ at mail dot gmail dot com> <CAA3tTg_jiG-_hKwvPKXzSPNRzTGrmqx6v2YXz8CwAs9-sM3OCw at mail dot gmail dot com>
- Reply-to: The Vulgar and Unprofessional Cygwin-Talk List <cygwin-talk at cygwin dot com>
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.