This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: using Windows backup API?

On Mar 31 11:37, Tomasz Chmielewski wrote:
> 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 permissions 
> removed)[1].
> To access such files in Windows, one needs to use a special Backup API.

The backup API is not really necessary to access such files.  It's
enough to enable the SE_BACKUP_NAME privilege and to use the 
FILE_OPEN_FOR_BACKUP_INTENT flag in file and directory open calls.
This is partly already done in the current Cygwin release, but it
will only be done consequently in the next major release 1.7.0.
No, we don't have a release date yet.  Feel free to test the latest
Cygwin snapshots from


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]