<?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: How do I fix this weird permission case? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-fix-this-weird-permission-case/m-p/706782#M116880</link>
    <description>&lt;P&gt;And what user does your splunkd run with?&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2024 21:08:27 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2024-12-13T21:08:27Z</dc:date>
    <item>
      <title>How do I fix this weird permission case?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-fix-this-weird-permission-case/m-p/706773#M116879</link>
      <description>&lt;P&gt;We have a case where the data resides under /usr/feith/log/*.log and the Splunk process can read these files however, when I log in to the unix server I cannot navigate into this directory as the Splunk user. What's going on?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;bash-4.4$ whoami
splunk
bash-4.4$ pwd
/usr/feith
bash-4.4$ \ls -tlr
total 388
...
drwxr-xr-x.    2 feith feith    4096 Dec 12 12:17 lib
drwx------.   19 feith feith    4096 Dec 13 01:00 log

bash-4.4$ cd log/
bash: cd: log/: Permission denied&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 18:43:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-fix-this-weird-permission-case/m-p/706773#M116879</guid>
      <dc:creator>danielbb</dc:creator>
      <dc:date>2024-12-13T18:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I fix this weird permission case?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-fix-this-weird-permission-case/m-p/706782#M116880</link>
      <description>&lt;P&gt;And what user does your splunkd run with?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 21:08:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-fix-this-weird-permission-case/m-p/706782#M116880</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-12-13T21:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I fix this weird permission case?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-fix-this-weird-permission-case/m-p/706786#M116882</link>
      <description>&lt;P&gt;I see -&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$ ps -ef | grep splunk
splunk 2802446 2802413 0 Dec08 ? 00:00:08 [splunkd pid=2802413] splunkd --under-systemd --systemd-delegate=yes -p 8089 _internal_launch_under_systemd [process-runner]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Meaning, the user splunk runs on the host and when I sudo to be the splunk user, I don't have access the these logs files, even though they are being ingested.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 21:29:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-fix-this-weird-permission-case/m-p/706786#M116882</guid>
      <dc:creator>danielbb</dc:creator>
      <dc:date>2024-12-13T21:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I fix this weird permission case?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-fix-this-weird-permission-case/m-p/706792#M116884</link>
      <description>&lt;P&gt;You could check if there are additional ACL sets for that directory and especially for those files. Just make sudo to root (if possible) and then use getfacl command to look those&amp;nbsp;&lt;A href="https://www.computerhope.com/unix/ugetfacl.htm" target="_blank"&gt;https://www.computerhope.com/unix/ugetfacl.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How those file collections are defined in your inputs.conf? I think that with additional ACLs it's possible to define those so that you could read those files directly from that directory event you cannot cd into it.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2024 23:54:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-fix-this-weird-permission-case/m-p/706792#M116884</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-12-13T23:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: How do I fix this weird permission case?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-fix-this-weird-permission-case/m-p/706800#M116885</link>
      <description>&lt;P&gt;Consider using the Least Privilege feature.&amp;nbsp; It allows a forwarder to read any file on the system.&amp;nbsp; See &lt;A href="https://www.splunk.com/en_us/blog/learn/least-privilege-principle.html" target="_blank"&gt;https://www.splunk.com/en_us/blog/learn/least-privilege-principle.html&lt;/A&gt; and &lt;A href="https://docs.splunk.com/Documentation/Forwarder/9.3.2/Forwarder/Installleastprivileged" target="_blank"&gt;https://docs.splunk.com/Documentation/Forwarder/9.3.2/Forwarder/Installleastprivileged&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2024 01:24:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-fix-this-weird-permission-case/m-p/706800#M116885</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-12-14T01:24:18Z</dc:date>
    </item>
  </channel>
</rss>

