<?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>question NiFi Container Permissions in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Container-Permissions/m-p/384814#M245496</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;We are trying to run NiFi + Registry 2.0.0-M2 on OpenShift, and no matter what combination of USER, chgrp, chmod, etc. we use we still get&lt;BR /&gt;&lt;BR /&gt;"sed: couldn't open temporary file /opt/nifi/nifi-current/conf/sedYird4M: Permission denied"&lt;/P&gt;&lt;P&gt;and pod fails to start.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We followed the OpenShift guidance of adding this to Dockerfile to no avail:&lt;BR /&gt;RUN chgrp -R 0 /opt/nifi &amp;amp;&amp;amp; chmod -R g=u /opt/nifi&lt;BR /&gt;&lt;BR /&gt;Please advise, this has been a blocker for a few days now!&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2024 16:05:41 GMT</pubDate>
    <dc:creator>TreantProtector</dc:creator>
    <dc:date>2024-03-10T16:05:41Z</dc:date>
    <item>
      <title>NiFi Container Permissions</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Container-Permissions/m-p/384814#M245496</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;We are trying to run NiFi + Registry 2.0.0-M2 on OpenShift, and no matter what combination of USER, chgrp, chmod, etc. we use we still get&lt;BR /&gt;&lt;BR /&gt;"sed: couldn't open temporary file /opt/nifi/nifi-current/conf/sedYird4M: Permission denied"&lt;/P&gt;&lt;P&gt;and pod fails to start.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We followed the OpenShift guidance of adding this to Dockerfile to no avail:&lt;BR /&gt;RUN chgrp -R 0 /opt/nifi &amp;amp;&amp;amp; chmod -R g=u /opt/nifi&lt;BR /&gt;&lt;BR /&gt;Please advise, this has been a blocker for a few days now!&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 16:05:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Container-Permissions/m-p/384814#M245496</guid>
      <dc:creator>TreantProtector</dc:creator>
      <dc:date>2024-03-10T16:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: NiFi Container Permissions</title>
      <link>https://community.cloudera.com/t5/Support-Questions/NiFi-Container-Permissions/m-p/387399#M246308</link>
      <description>&lt;P&gt;Use a Dedicated Temporary Directory&lt;/P&gt;&lt;P&gt;Configure a Temporary Directory,&amp;nbsp;Set an environment variable within your Kubernetes deployment YAML file specifying an alternative temporary directory with appropriate permissions for the NiFi user. You can leverage an empty directory volume mounted specifically for temporary files.&lt;/P&gt;&lt;P&gt;Update NiFi Configuration, Modify the NiFi configuration (potentially within the bootstrap.conf file) to use the environment variable for the temporary directory. Consult the NiFi documentation for specific instructions on how to configure an alternate temporary directory.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/109548"&gt;@TreantProtector&lt;/a&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 09:11:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/NiFi-Container-Permissions/m-p/387399#M246308</guid>
      <dc:creator>RAGHUY</dc:creator>
      <dc:date>2024-04-30T09:11:13Z</dc:date>
    </item>
  </channel>
</rss>

