www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/05/26/17:38:57

From: benny AT crocodial DOT de (Benjamin Riefenstahl)
Subject: Re: amanda port & tar question
26 May 1998 17:38:57 -0700 :
Message-ID: <356A942C.301057C.cygnus.gnu-win32@crocodial.de>
References: <199805251604 DOT SAA16513 AT guenda DOT cli DOT di DOT unipi DOT it>
Mime-Version: 1.0
To: Enrico Bernardini <enrico AT cli DOT di DOT unipi DOT it>
Cc: gnu-win32 AT cygnus DOT com

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 AT crocodial DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


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