<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Backup and 000000.dir in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150731#M88552</link>
    <description>Note : the set watch was done with a system user.</description>
    <pubDate>Tue, 26 Feb 2008 12:43:54 GMT</pubDate>
    <dc:creator>Wim Van den Wyngaert</dc:creator>
    <dc:date>2008-02-26T12:43:54Z</dc:date>
    <item>
      <title>Backup and 000000.dir</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150727#M88548</link>
      <description>A user with netmbx, tmpmbx, grpprv and grpnam&lt;BR /&gt;tries to do a backup of dsa2:[x.y]toto.dat x:toto.dat. The backup works fine.&lt;BR /&gt;&lt;BR /&gt;But in audit I get a READ access violation on dsa2:[000000]000000.dir. Which has W:E.&lt;BR /&gt;&lt;BR /&gt;Why is backup doing this read and how to solve this problem ?&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 26 Feb 2008 11:58:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150727#M88548</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-02-26T11:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: Backup and 000000.dir</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150728#M88549</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;what was the exact backup command and how is logical X defined?&lt;BR /&gt;I am not able to reproduce this.&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Tue, 26 Feb 2008 12:05:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150728#M88549</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2008-02-26T12:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Backup and 000000.dir</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150729#M88550</link>
      <description>backup dsa2:[x.y]toto.dat ops$mail:*.*;&lt;BR /&gt;&lt;BR /&gt;and ops$mail [exec] ops$root:[mailfiles] /sys&lt;BR /&gt;and ops$root [exec] disk:[operations.] [conc] /sys&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But I tried to replace dsa2:[x.] by a concealed device and then it works fine without alarm.&lt;BR /&gt;&lt;BR /&gt;It seems that backup needs read access on all directory levels ? Then why if it also works without the access.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 26 Feb 2008 12:15:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150729#M88550</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-02-26T12:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Backup and 000000.dir</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150730#M88551</link>
      <description>No experience in reading this garbage but here is the set watch output.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Tue, 26 Feb 2008 12:32:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150730#M88551</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-02-26T12:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Backup and 000000.dir</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150731#M88552</link>
      <description>Note : the set watch was done with a system user.</description>
      <pubDate>Tue, 26 Feb 2008 12:43:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150731#M88552</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-02-26T12:43:54Z</dc:date>
    </item>
    <item>
      <title>Re: Backup and 000000.dir</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150732#M88553</link>
      <description>Wim,&lt;BR /&gt;&lt;BR /&gt;  The purpose of BACKUP is to reproduce the set of files being backed up. This includes all the attributes of all directories in the entire directory tree. &lt;BR /&gt;&lt;BR /&gt;  If BACKUP can't read the attributes, a directory won't be physically included in the saveset - though its existence can still be inferred from the filespecs of the saved files. On restore BACKUP will create *A* directory, with the correct name, but with whatever default owner, protection, version limits etc... are applicable. Your SET WATCH output shows BACKUP reading the directory attributes.&lt;BR /&gt;&lt;BR /&gt; %XQP, Thread #0, Volume protection: Access requested: 00000001, Status: 00000001, PrvUsd: 00000000&lt;BR /&gt;%XQP, Thread #0, File protection (4,4,0): Access requested: 00000001, Status: 00000001, PrvUsd: 00000001&lt;BR /&gt;%XQP, Thread #0, Read attributes: File header 000000.DIR;1 (4,4,0)&lt;BR /&gt;%XQP, Thread #0, Read attributes: Back link 000000.DIR;1 (4,4,0)&lt;BR /&gt;%XQP, Thread #0, Read attributes: ASCII file name, type &amp;amp; version 000000.DIR;1 (4,4,0)&lt;BR /&gt;%XQP, Thread #0, Access 000000.DIR;1 (4,4,0) Status: 00000001&lt;BR /&gt;&lt;BR /&gt;In your case the first BACKUP command implicitly references the "real" 000000.DIR, whereas the concealed device skips it - instead it references a "virtual" 000000.DIR, being the root of the concealed device (to which it DOES have read access).&lt;BR /&gt;&lt;BR /&gt;By default, the 000000 directory usually has W:E access - this allows a non-privileged user to traverse the directory, but not to search it. Normal security practice. It also blocks non-privileged users from reading the directory attributes.&lt;BR /&gt;&lt;BR /&gt;So, your BACKUP is working, except that it can't save 000000.DIR explicitly. The BACKUP command won't give you any errors, and the restore will work correctly (since you won't need to restore 000000.DIR, it doesn't matter that its attributes weren't saved), but you will correctly see a read failure audit on the directory, because that's what you've asked for. However, if you were to perform a full backup of this disk, with the same non-privileged user, and your 000000.DIR has non-default attributes, the restore wouldn't reproduce it.&lt;BR /&gt;&lt;BR /&gt;I'm not sure which part of this you consider a problem. The BACKUP is doing exactly what you asked, within the constraints you've imposed on it. &lt;BR /&gt;&lt;BR /&gt;You can either ignore the audit, give your process READ access to 000000.DIR, use the concealed device to skip 000000.DIR or increase the privileges of the process.&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Feb 2008 21:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150732#M88553</guid>
      <dc:creator>John Gillings</dc:creator>
      <dc:date>2008-02-26T21:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: Backup and 000000.dir</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150733#M88554</link>
      <description>John,&lt;BR /&gt;&lt;BR /&gt;This is what I suspected. I didn't think of the fact that READ access is required to get the full information of the file.&lt;BR /&gt;I granted READ access. &lt;BR /&gt;&lt;BR /&gt;Thx&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 27 Feb 2008 07:03:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/backup-and-000000-dir/m-p/4150733#M88554</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2008-02-27T07:03:52Z</dc:date>
    </item>
  </channel>
</rss>

