This is the mail archive of the
mailing list for the Cygwin project.
using Windows backup API?
- From: Tomasz Chmielewski <mangoo at wpkg dot org>
- To: cygwin at cygwin dot com
- Date: Mon, 31 Mar 2008 11:37:48 +0200
- Subject: using Windows backup API?
Traditionally, in UNIX, a root user can access any file in the system
without doing anything special.
This contrasts with Windows, where even Administrator user can't read
files for which he has not access permissions (i.e., a file with all
To access such files in Windows, one needs to use a special Backup API.
However, ported UNIX tools, like rsync, are not aware of this API (and I
doubt they ever will) - this results in that they can't access certain
files, even if the tool is started by the Administrator user:
C:\rsyncd\rsync.exe 1.txt copy.txt
rsync: send_files failed to open "/cygdrive/c/test/1.txt": Permission
Is it somehow possible to use this Windows Backup API transparently for
applications using Cygwin dll?
 This is something else as files opened exclusively, like Windows
registry files, which can be accessed by using shadow copy
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html