This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: amanda port & tar question
- To: Enrico Bernardini <enrico at cli dot di dot unipi dot it>
- Subject: Re: amanda port & tar question
- From: Benjamin Riefenstahl <benny at crocodial dot de>
- Date: Tue, 26 May 1998 12:06:36 +0200
- CC: gnu-win32 at cygnus dot com
- Organization: Crocodial Communications EntwicklungsGmbH
- References: <199805251604.SAA16513@guenda.cli.di.unipi.it>
Hi Enrico,
Enrico Bernardini wrote:
> I modified the sources of tar-1.12 to enable the Backup Privilege. I could
> backup regardless file permissions. Now, tar can backup the readable
> files inside a "locked" directory, and I can see (with Event Viewer)
> the Backup Privilege set.
In addition to getting the backup privilege an application would need to
specify the FILE_FLAG_BACKUP_SEMANTICS flag to the file open API
(CreatFile()). Otherwise the backup privilege would just have been a
synonym for "all access" on all operations.
Now how to get tar to set this flag on file/dir opens, I don't know.
so long, benny
======================================
Benjamin Riefenstahl (benny@crocodial.de)
Crocodial Communications EntwicklungsGmbH
Ruhrstraße 61, D-22761 Hamburg, Germany
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".