<?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: Are there any recommended settings for file permissions of .conf files in deployment apps? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307816#M11660</link>
    <description>&lt;P&gt;gotcha, that makes sense.  I am editing the app on the deployment server, not the deployed apps.  I see now what you mean about when it gets deployed&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2017 21:01:01 GMT</pubDate>
    <dc:creator>joshuapetitt</dc:creator>
    <dc:date>2017-11-29T21:01:01Z</dc:date>
    <item>
      <title>Are there any recommended settings for file permissions of .conf files in deployment apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307812#M11656</link>
      <description>&lt;P&gt;Is there any recommended settings for file permissions of .conf files in deployment apps?&lt;/P&gt;

&lt;P&gt;For example, I am looking at a deployment app I created using the GUI, and I see in the &lt;CODE&gt;local&lt;/CODE&gt; folder:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;-rwxr-xr-x app.conf
-rw------- inputs.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It seems odd that the owner, group, and all users &lt;CODE&gt;x&lt;/CODE&gt; bit is set for .conf files?  &lt;/P&gt;

&lt;P&gt;It also seems odd that the group &lt;CODE&gt;r&lt;/CODE&gt; bit is not set for inputs.conf?&lt;/P&gt;

&lt;P&gt;Finally, should any bits be ever set for all users?&lt;/P&gt;

&lt;P&gt;I'm leaning toward 664 or 660 for .conf files?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 19:59:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307812#M11656</guid>
      <dc:creator>joshuapetitt</dc:creator>
      <dc:date>2017-11-29T19:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: Are there any recommended settings for file permissions of .conf files in deployment apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307813#M11657</link>
      <description>&lt;P&gt;I generally go for &lt;CODE&gt;750&lt;/CODE&gt;. I believe execute permission is required for scripted inputs and other executables, so for deployment apps, I set that, regardless they've executable or not.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 20:38:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307813#M11657</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-11-29T20:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Are there any recommended settings for file permissions of .conf files in deployment apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307814#M11658</link>
      <description>&lt;P&gt;thanks! is there any reason you would not give write access to the group?&lt;BR /&gt;
I only say this because I have given ownership to the &lt;CODE&gt;splunk&lt;/CODE&gt; user.  I am part of the &lt;CODE&gt;splunk&lt;/CODE&gt; group, and I'd like to edit the files without having to sudo everytime.  But I'm unsure if there is a good reason &lt;EM&gt;not&lt;/EM&gt; to allow group write access.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 20:52:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307814#M11658</guid>
      <dc:creator>joshuapetitt</dc:creator>
      <dc:date>2017-11-29T20:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Are there any recommended settings for file permissions of .conf files in deployment apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307815#M11659</link>
      <description>&lt;P&gt;I don't see a reason where group members will update deployed apps (in etc/apps). Changes to deployment apps should be centralized only from deployment server. For us, it's a best practice reason so that changes are only made (only on DS) when someone sudo to &lt;CODE&gt;splunk&lt;/CODE&gt; user.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 20:57:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307815#M11659</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-11-29T20:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Are there any recommended settings for file permissions of .conf files in deployment apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307816#M11660</link>
      <description>&lt;P&gt;gotcha, that makes sense.  I am editing the app on the deployment server, not the deployed apps.  I see now what you mean about when it gets deployed&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 21:01:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307816#M11660</guid>
      <dc:creator>joshuapetitt</dc:creator>
      <dc:date>2017-11-29T21:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Are there any recommended settings for file permissions of .conf files in deployment apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307817#M11661</link>
      <description>&lt;P&gt;&lt;A href="http://dev.splunk.com/view/app-cert/SP-CAAAE3H"&gt;Here's what Splunk recommends&lt;/A&gt;&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;Check that no files have *nix write permissions for all users (xx2, xx6, xx7). Splunk recommends 644 for all files outside of bin/ and 755 for all directories and files in the bin/ directory.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;Of course, you can always go more restrictive.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 13:37:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/307817#M11661</guid>
      <dc:creator>iandrews_splunk</dc:creator>
      <dc:date>2017-11-30T13:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Are there any recommended settings for file permissions of .conf files in deployment apps?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/631824#M26717</link>
      <description>&lt;P&gt;&lt;A href="https://dev.splunk.com/enterprise/reference/appinspect/appinspectcheck/#Source-code-and-binaries-standards" target="_self"&gt;updated link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 10:01:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Are-there-any-recommended-settings-for-file-permissions-of-conf/m-p/631824#M26717</guid>
      <dc:creator>m2oswald</dc:creator>
      <dc:date>2023-02-22T10:01:05Z</dc:date>
    </item>
  </channel>
</rss>

