<?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 Spot permissions denied errors- How could I spot this issue in the first place ? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Spot-permissions-denied-errors-How-could-I-spot-this-issue-in/m-p/626120#M107575</link>
    <description>&lt;P&gt;Hello Splunkers,&lt;BR /&gt;&lt;BR /&gt;I faced the following issue :&lt;/P&gt;
&lt;P&gt;I deployed an app on a UF, this app should monitor a specific file in my machine let's say &lt;EM&gt;/&amp;lt;my_file&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The thing is I'm running Splunk service as a non root user (splunk user) and this user does not have permission to read this file. I know how to solve this with setfacl command, but &lt;STRONG&gt;how could I spot this issue in the first place ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I thought that this permission error would have been visible in splunkd.log but it's not the case... I am trying to find a way to monitor the other possible "permissions denied" errors without manually log in as the splunk user and try to open the specific files.&lt;/P&gt;
&lt;P&gt;Thanks a lot,&lt;/P&gt;
&lt;P&gt;GaetanVP&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2023 14:01:56 GMT</pubDate>
    <dc:creator>GaetanVP</dc:creator>
    <dc:date>2023-01-06T14:01:56Z</dc:date>
    <item>
      <title>Spot permissions denied errors- How could I spot this issue in the first place ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Spot-permissions-denied-errors-How-could-I-spot-this-issue-in/m-p/626120#M107575</link>
      <description>&lt;P&gt;Hello Splunkers,&lt;BR /&gt;&lt;BR /&gt;I faced the following issue :&lt;/P&gt;
&lt;P&gt;I deployed an app on a UF, this app should monitor a specific file in my machine let's say &lt;EM&gt;/&amp;lt;my_file&amp;gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The thing is I'm running Splunk service as a non root user (splunk user) and this user does not have permission to read this file. I know how to solve this with setfacl command, but &lt;STRONG&gt;how could I spot this issue in the first place ?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;I thought that this permission error would have been visible in splunkd.log but it's not the case... I am trying to find a way to monitor the other possible "permissions denied" errors without manually log in as the splunk user and try to open the specific files.&lt;/P&gt;
&lt;P&gt;Thanks a lot,&lt;/P&gt;
&lt;P&gt;GaetanVP&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 14:01:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Spot-permissions-denied-errors-How-could-I-spot-this-issue-in/m-p/626120#M107575</guid>
      <dc:creator>GaetanVP</dc:creator>
      <dc:date>2023-01-06T14:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Spot permissions denied errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Spot-permissions-denied-errors-How-could-I-spot-this-issue-in/m-p/626137#M107579</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231013"&gt;@GaetanVP&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you can search "permission denied" in _internal index for that host in Splunk Search &amp;amp; Reporting App.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 10:57:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Spot-permissions-denied-errors-How-could-I-spot-this-issue-in/m-p/626137#M107579</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-01-06T10:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Spot permissions denied errors</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Spot-permissions-denied-errors-How-could-I-spot-this-issue-in/m-p/626172#M107587</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Good guess, I indeed have "&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Permission&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class=""&gt;denied" in some WARN message (failed to open for checksum - for a .gz file)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;But I also have the following string "Reason: cannot_open" (this time it is for a single file)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I suppose there is different string to search based on the type of files / folder, but your answer helped, thanks !&lt;BR /&gt;&lt;BR /&gt;GaetanVP&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2023 13:19:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Spot-permissions-denied-errors-How-could-I-spot-this-issue-in/m-p/626172#M107587</guid>
      <dc:creator>GaetanVP</dc:creator>
      <dc:date>2023-01-06T13:19:21Z</dc:date>
    </item>
  </channel>
</rss>

