<?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: Files owned by root under splunk in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Files-owned-by-root-under-splunk/m-p/103173#M5832</link>
    <description>&lt;P&gt;Should be chown -R user:group $SPLUNK_HOME&lt;/P&gt;

&lt;P&gt;Not chmod.&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jan 2016 20:55:06 GMT</pubDate>
    <dc:creator>t0c</dc:creator>
    <dc:date>2016-01-26T20:55:06Z</dc:date>
    <item>
      <title>Files owned by root under splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Files-owned-by-root-under-splunk/m-p/103170#M5829</link>
      <description>&lt;P&gt;I've created a couple of dashboards and some reports, and I've started looking at packaging up my files to move them to a production environment. In looking at the files under $SPLUNK_HOME, I see that most of them are owned by user splunk, but some are owned by root. In particular, in my app named Foo, I have the following files in directory $SPLUNK_HOME/etc/apps/Foo/local:&lt;/P&gt;

&lt;H2&gt;pwd&lt;/H2&gt;

&lt;P&gt;/xxx/splunk/etc/apps/Foo/local  &lt;/P&gt;

&lt;H2&gt;ls -l&lt;/H2&gt;

&lt;P&gt;total 28&lt;BR /&gt;
-rw------- 1 splunk splunk   167 Apr 29  2010 app.conf&lt;BR /&gt;
drwx------ 3 splunk splunk  4096 Apr  7  2010 data&lt;BR /&gt;
-rw------- 1 root   root    6924 Dec 10 13:51 savedsearches.conf&lt;BR /&gt;
-rw------- 1 root   root   11660 Dec 10 13:47 viewstates.conf  &lt;/P&gt;

&lt;P&gt;The file savedsearches.conf contains the definitions of my reports and viewstates.conf contains the various charts I've created for my dashboard. But should those files be owned by root or by splunk? I have done all the work of building the dashboard while logged in as myself (nbc), and I have not manually touched any of those files in the system (although someone else may have).&lt;/P&gt;

&lt;P&gt;Do I need to change the ownership of these (and any other?) files so that they are all owned by splunk? Or is the file ownership not an issue? Note that splunk itself seems to be running fine on this system - all my reports and dashboards seem to display correctly. I plan to pick up the entire Foo app and move it to my production system at some point and I'm just wondering if the file ownership will cause problems when I try to do the packaging and move to another machine.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;nbc&lt;/P&gt;</description>
      <pubDate>Fri, 10 Dec 2010 23:53:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Files-owned-by-root-under-splunk/m-p/103170#M5829</guid>
      <dc:creator>nbcohen</dc:creator>
      <dc:date>2010-12-10T23:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Files owned by root under splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Files-owned-by-root-under-splunk/m-p/103171#M5830</link>
      <description>&lt;P&gt;All files in a Splunk distribution should be owned by user and group of whoever is starting Splunk.&lt;/P&gt;

&lt;P&gt;Stop Splunk&lt;/P&gt;

&lt;P&gt;chmod -R user:group $SPLUNK_HOME&lt;/P&gt;

&lt;P&gt;Restart Splunk as that user.  &lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2010 00:28:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Files-owned-by-root-under-splunk/m-p/103171#M5830</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2010-12-11T00:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Files owned by root under splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Files-owned-by-root-under-splunk/m-p/103172#M5831</link>
      <description>&lt;P&gt;Thanks - I'll arrange to do that...&lt;/P&gt;

&lt;P&gt;nbc&lt;/P&gt;</description>
      <pubDate>Sat, 11 Dec 2010 00:37:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Files-owned-by-root-under-splunk/m-p/103172#M5831</guid>
      <dc:creator>nbcohen</dc:creator>
      <dc:date>2010-12-11T00:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: Files owned by root under splunk</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Files-owned-by-root-under-splunk/m-p/103173#M5832</link>
      <description>&lt;P&gt;Should be chown -R user:group $SPLUNK_HOME&lt;/P&gt;

&lt;P&gt;Not chmod.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jan 2016 20:55:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Files-owned-by-root-under-splunk/m-p/103173#M5832</guid>
      <dc:creator>t0c</dc:creator>
      <dc:date>2016-01-26T20:55:06Z</dc:date>
    </item>
  </channel>
</rss>

