title: How to avoid "Operation not permitted" on macOS when `sudo` and `bypass` don't do the trick
body: <p>On macOS (High Sierra) when I attempt to list the file at the path</p>
  
  <pre><code>/private/var/db/ConfigurationProfiles/Store
  </code></pre>
  
  <p>I get the error "<code>Operation not permitted</code>". Using <code>sudo</code> doesn't better it and even employing the <code>bypass</code> helper doesn't change anything:</p>
  
  <pre><code>sudo /System/Library/Extensions/TMSafetyNet.kext/Contents/Helpers/bypass ls -l /private/var/db/ConfigurationProfiles/Store
  </code></pre>
  
  <p>gives "<code>Operation not permitted</code>" as well. How can I list/access the file under the path <code>/private/var/db/ConfigurationProfiles/Store</code>?</p>
  
  <p><strong>Additional info:</strong></p>
  
  <p>An list of the the enclosing directory via <code>ls -al /private/var/db/ConfigurationProfiles</code> displays:</p>
  
  <pre><code>drwxr-xr-x   5 root  wheel   160 13 Apr  2018 .
  drwxr-xr-x  85 root  wheel  2720 28 Sep 06:27 ..
  drwxr-xr-x@  4 root  wheel   128 16 Dec  2017 Settings
  drwx------   3 root  wheel    96  1 Oct 21:56 Setup
  ls: Store: Operation not permitted
  </code></pre>
  
  <p>Consistently, but rather  strangely <code>Store</code> cannot be listed. This happens both when executing <code>ls</code> as current user and via <code>sudo</code>.</p>