public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
* The dangers of mounting
       [not found] ` <CAA3tTg_jiG-_hKwvPKXzSPNRzTGrmqx6v2YXz8CwAs9-sM3OCw@mail.gmail.com>
@ 2015-09-12  1:54   ` Jan Bruun Andersen
  0 siblings, 0 replies; only message in thread
From: Jan Bruun Andersen @ 2015-09-12  1:54 UTC (permalink / raw)
  To: cygwin-talk

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-12  1:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAA3tTg8JnTnO-pU28iz1RLo46UqMazXWDWoo-qAbd3i+=m_JUQ@mail.gmail.com>
     [not found] ` <CAA3tTg_jiG-_hKwvPKXzSPNRzTGrmqx6v2YXz8CwAs9-sM3OCw@mail.gmail.com>
2015-09-12  1:54   ` The dangers of mounting Jan Bruun Andersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).