<?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: PermissionError / Operation not Permitted with Files-in-Repos in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/permissionerror-operation-not-permitted-with-files-in-repos/m-p/10946#M5988</link>
    <description>&lt;P&gt;In my opinion, requirements.txt is just in another folder. So please save the requirements file in dbfs and put the full path. And also magic command pip has to be prefixed with a % sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%pip install -r /dbfs/requirements.txt&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2023 13:28:44 GMT</pubDate>
    <dc:creator>Hubert-Dudek</dc:creator>
    <dc:date>2023-01-23T13:28:44Z</dc:date>
    <item>
      <title>PermissionError / Operation not Permitted with Files-in-Repos</title>
      <link>https://community.databricks.com/t5/data-engineering/permissionerror-operation-not-permitted-with-files-in-repos/m-p/10945#M5987</link>
      <description>&lt;P&gt;I've been running a notebook using files-in-repo. Previously this has worked fine. I'm unsure what's changed (I was testing integration with DCS on older runtimes, but don't think I made any persistent changes)--but now it's throwing an error (always a variant of "Operation not permitted" or "PermissionError'). I'm unable to access a requirements.txt file or load modules in my repo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example, I'll use the databrick &lt;A href="https://docs.databricks.com/_extras/notebooks/source/files-in-repos.html" alt="https://docs.databricks.com/_extras/notebooks/source/files-in-repos.html" target="_blank"&gt;files-in-repo notebook&lt;/A&gt;. Loading a module: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/814i9608ED596A1F881A/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Loading a requirements.txt:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/817i91581888CCD5BC69/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;Some other information:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Running on a single-node cluster with DBR 12.0 and no DCS&lt;/LI&gt;&lt;LI&gt;Files-in-Repo is enabled for DBR 8.4+&lt;/LI&gt;&lt;LI&gt;The Python PWD is my repository path, and the and os path include my repository path.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I'm new to DB; is there something obvious I'm overlooking here?&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2023 19:18:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/permissionerror-operation-not-permitted-with-files-in-repos/m-p/10945#M5987</guid>
      <dc:creator>jfarmer</dc:creator>
      <dc:date>2023-01-21T19:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: PermissionError / Operation not Permitted with Files-in-Repos</title>
      <link>https://community.databricks.com/t5/data-engineering/permissionerror-operation-not-permitted-with-files-in-repos/m-p/10946#M5988</link>
      <description>&lt;P&gt;In my opinion, requirements.txt is just in another folder. So please save the requirements file in dbfs and put the full path. And also magic command pip has to be prefixed with a % sign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%pip install -r /dbfs/requirements.txt&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 13:28:44 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/permissionerror-operation-not-permitted-with-files-in-repos/m-p/10946#M5988</guid>
      <dc:creator>Hubert-Dudek</dc:creator>
      <dc:date>2023-01-23T13:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: PermissionError / Operation not Permitted with Files-in-Repos</title>
      <link>https://community.databricks.com/t5/data-engineering/permissionerror-operation-not-permitted-with-files-in-repos/m-p/10947#M5989</link>
      <description>&lt;P&gt;Appreciate the advice, but using an absolute path and using % doesn't fix the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's almost like DB thinks files-in-repos is not enabled for this cluster.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2023 15:05:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/permissionerror-operation-not-permitted-with-files-in-repos/m-p/10947#M5989</guid>
      <dc:creator>jfarmer</dc:creator>
      <dc:date>2023-01-23T15:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: PermissionError / Operation not Permitted with Files-in-Repos</title>
      <link>https://community.databricks.com/t5/data-engineering/permissionerror-operation-not-permitted-with-files-in-repos/m-p/49386#M28544</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/32180"&gt;@jfarmer&lt;/a&gt;&amp;nbsp;, did you solved this issue? I'm having exactly the same challenge.&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 14:14:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/permissionerror-operation-not-permitted-with-files-in-repos/m-p/49386#M28544</guid>
      <dc:creator>_carleto_</dc:creator>
      <dc:date>2023-10-17T14:14:16Z</dc:date>
    </item>
  </channel>
</rss>

