<?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: Why am I getting error &amp;quot;Operation not permitted&amp;quot; while accepting the license in Splunk on Linux Ubuntu? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Why-am-I-getting-error-quot-Operation-not-permitted-quot-while/m-p/251790#M3880</link>
    <description>&lt;P&gt;Thank you, Renjith for the reply. It works for me now.&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jan 2016 08:05:44 GMT</pubDate>
    <dc:creator>Yogen</dc:creator>
    <dc:date>2016-01-29T08:05:44Z</dc:date>
    <item>
      <title>Why am I getting error "Operation not permitted" while accepting the license in Splunk on Linux Ubuntu?</title>
      <link>https://community.splunk.com/t5/Installation/Why-am-I-getting-error-quot-Operation-not-permitted-quot-while/m-p/251788#M3878</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I am a newbie in Splunk. I faced an error while accepting the license for Splunk. I am using Linux Ubuntu OS. The details of the error are as shown below:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;This appears to be your first time running this version of Splunk.
Moving '/home/yogen6116/download/splunk/share/splunk/search_mrsparkle/modules.new' to '/home/yogen6116/download/splunk/share/splunk/search_mrsparkle/modules'.
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;An unforeseen error occurred:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Exception: &amp;lt;type 'exceptions.OSError'&amp;gt;, Value: [Errno 1] Operation not permitted: '/home/yogen6116/download/splunk/share/splunk/search_mrsparkle/modules.new'

Traceback (most recent call last):
  File "/home/yogen6116/download/splunk/lib/python2.7/site-packages/splunk/clilib/cli.py", line 1150, in main
    parseAndRun(argsList)
  File "/home/yogen6116/download/splunk/lib/python2.7/site-packages/splunk/clilib/cli.py", line 997, in parseAndRun
    retVal = cList.getCmd(command, subCmd).call(argList, fromCLI = True)
  File "/home/yogen6116/download/splunk/lib/python2.7/site-packages/splunk/clilib/cli.py", line 280, in call
    return self.func(args, fromCLI)
  File "/home/yogen6116/download/splunk/lib/python2.7/site-packages/splunk/clilib/control_api.py", line 30, in wrapperFunc
    return func(dictCopy, fromCLI)
  File "/home/yogen6116/download/splunk/lib/python2.7/site-packages/splunk/clilib/_internal.py", line 160, in firstTimeRun
    comm.moveItem(migration.PATH_UI_MOD_NEW, migration.PATH_UI_MOD_ACTIVE)
  File "/home/yogen6116/download/splunk/lib/python2.7/site-packages/splunk/clilib/cli_common.py", line 855, in moveItem
    ensureDeletable(src)
  File "/home/yogen6116/download/splunk/lib/python2.7/site-packages/splunk/clilib/cli_common.py", line 892, in ensureDeletable
    os.chmod(oneItem, os.stat(oneItem).st_mode | stat.S_IWRITE)
OSError: [Errno 1] Operation not permitted: '/home/yogen6116/download/splunk/share/splunk/search_mrsparkle/modules.new'
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I have tried many times by giving access rights to all the files and directories and still the above stated error occurs. Can anyone help me to solve this error?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 18:11:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-am-I-getting-error-quot-Operation-not-permitted-quot-while/m-p/251788#M3878</guid>
      <dc:creator>Yogen</dc:creator>
      <dc:date>2020-06-17T18:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting error "Operation not permitted" while accepting the license in Splunk on Linux Ubuntu?</title>
      <link>https://community.splunk.com/t5/Installation/Why-am-I-getting-error-quot-Operation-not-permitted-quot-while/m-p/251789#M3879</link>
      <description>&lt;P&gt;Check if the &lt;CODE&gt;user&lt;/CODE&gt; you are using to install the splunk has right permissions on the folders &lt;CODE&gt;/home/yogen6116/download/splunk/share/splunk/search_mrsparkle/modules&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Which user you are using? and can you list  the directory permissions on the splunk installation directory (from base)?&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 06:43:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-am-I-getting-error-quot-Operation-not-permitted-quot-while/m-p/251789#M3879</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-01-29T06:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting error "Operation not permitted" while accepting the license in Splunk on Linux Ubuntu?</title>
      <link>https://community.splunk.com/t5/Installation/Why-am-I-getting-error-quot-Operation-not-permitted-quot-while/m-p/251790#M3880</link>
      <description>&lt;P&gt;Thank you, Renjith for the reply. It works for me now.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 08:05:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-am-I-getting-error-quot-Operation-not-permitted-quot-while/m-p/251790#M3880</guid>
      <dc:creator>Yogen</dc:creator>
      <dc:date>2016-01-29T08:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting error "Operation not permitted" while accepting the license in Splunk on Linux Ubuntu?</title>
      <link>https://community.splunk.com/t5/Installation/Why-am-I-getting-error-quot-Operation-not-permitted-quot-while/m-p/251791#M3881</link>
      <description>&lt;P&gt;You are welcome ! So it's a permission issue ? Please mark as answer so that the thread will be closed&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jan 2016 08:19:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-am-I-getting-error-quot-Operation-not-permitted-quot-while/m-p/251791#M3881</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-01-29T08:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Why am I getting error "Operation not permitted" while accepting the license in Splunk on Linux Ubuntu?</title>
      <link>https://community.splunk.com/t5/Installation/Why-am-I-getting-error-quot-Operation-not-permitted-quot-while/m-p/251792#M3882</link>
      <description>&lt;P&gt;The related post &lt;A href="https://answers.splunk.com/answers/412211/first-time-running-error-mac-os.html"&gt;https://answers.splunk.com/answers/412211/first-time-running-error-mac-os.html&lt;/A&gt; supplied one solution: one must 'sudo -- chown -R  /opt/splunk' so that the Splunk installation is no longer owned by the 'splunk' user but by the user that is trying to run splunk.&lt;/P&gt;

&lt;P&gt;I suspect another solution may be to join the splunk user to the user's group (sudo adduser splunk ) or vice-versa (sudo adduser  splunk).&lt;/P&gt;

&lt;P&gt;Why is this not done by the Debian postinst script of splunk-6.4.1-debde650d26e-linux-2.6-amd64.deb?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 18:59:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-am-I-getting-error-quot-Operation-not-permitted-quot-while/m-p/251792#M3882</guid>
      <dc:creator>DUThibault</dc:creator>
      <dc:date>2016-06-22T18:59:20Z</dc:date>
    </item>
  </channel>
</rss>

