<?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 How to write/create permission under /etc from python? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-write-create-permission-under-etc-from-python/m-p/327049#M12732</link>
    <description>&lt;P&gt;It seems to me that a python script (custom command and/or controller have no write permission under /etc)&lt;/P&gt;

&lt;P&gt;Is this me making a mistake or is this a default setting and if so, can it be overcome? (maybe not due to security considerations)&lt;/P&gt;

&lt;P&gt;I realize that for a search head cluster this could be non trivial .&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2018 17:44:27 GMT</pubDate>
    <dc:creator>dominiquevocat</dc:creator>
    <dc:date>2018-01-25T17:44:27Z</dc:date>
    <item>
      <title>How to write/create permission under /etc from python?</title>
      <link>https://community.splunk.com/t5/Security/How-to-write-create-permission-under-etc-from-python/m-p/327049#M12732</link>
      <description>&lt;P&gt;It seems to me that a python script (custom command and/or controller have no write permission under /etc)&lt;/P&gt;

&lt;P&gt;Is this me making a mistake or is this a default setting and if so, can it be overcome? (maybe not due to security considerations)&lt;/P&gt;

&lt;P&gt;I realize that for a search head cluster this could be non trivial .&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2018 17:44:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-write-create-permission-under-etc-from-python/m-p/327049#M12732</guid>
      <dc:creator>dominiquevocat</dc:creator>
      <dc:date>2018-01-25T17:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to write/create permission under /etc from python?</title>
      <link>https://community.splunk.com/t5/Security/How-to-write-create-permission-under-etc-from-python/m-p/327050#M12733</link>
      <description>&lt;P&gt;Do you mean the system's &lt;CODE&gt;/etc&lt;/CODE&gt;, or &lt;CODE&gt;$SPLUNK_HOME/etc&lt;/CODE&gt;?&lt;/P&gt;

&lt;P&gt;If the former, I'd expect that to be the case, unless you have splunk running as root (and I hope you don't).  If the latter, I can't see why a custom search command wouldn't have the same permissions to anything under &lt;CODE&gt;$SPLUNK_HOME&lt;/CODE&gt;, considering it should be running as the same user.  I don't believe &lt;CODE&gt;chroot&lt;/CODE&gt; or anything similar is used when Splunk calls external commands.&lt;/P&gt;</description>
      <pubDate>Sun, 04 Feb 2018 02:40:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-write-create-permission-under-etc-from-python/m-p/327050#M12733</guid>
      <dc:creator>micahkemp</dc:creator>
      <dc:date>2018-02-04T02:40:01Z</dc:date>
    </item>
  </channel>
</rss>

