delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/03/21:33:34

X-Spam-Check-By: sourceware.org
Message-ID: <43925577.B8FDB0AC@dessent.net>
Date: Sat, 03 Dec 2005 18:33:27 -0800
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: permission denied while deleting the local copy of rsynced data
References: <dmtjrp$apj$1 AT sea DOT gmane DOT org>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

"H.S." wrote:

> rsync: send_files failed to open "/cygdrive/c/Documents and
> Settings/winuser/NTUSER.DAT": Device or resource busy (16)

That is your HKCU hive.  It is opened by the system in exclusive mode,
and no other process can read or write it.  The purpose being that if
you want to access the registry, you go through the registry API.  For
instance, each registry key can have an ACL, so it's possible to create
a registry key that is only readable by a particular user.  But if
processes could just read the hive data on disk it would completely
bypass that security.

So you can't back up the registry that way, but that doesn't matter
because there are much better ways.  For example "reg export HKCU
file.reg" and then backup file.reg.

Brian

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019