<?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 Log file permissions on Linux in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476895#M18416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone know if ArcGIS Server and the Web Adaptor are giving only their owners read access to the log files they create by default? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is seems the system settings for new files and directories created by that user are being ignored. More importantly, if that is the case, does anyone know where/what we can configure to provide its group with read access as well?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jtm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Nov 2013 17:22:10 GMT</pubDate>
    <dc:creator>JoanneMcGraw</dc:creator>
    <dc:date>2013-11-29T17:22:10Z</dc:date>
    <item>
      <title>Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476895#M18416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anyone know if ArcGIS Server and the Web Adaptor are giving only their owners read access to the log files they create by default? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is seems the system settings for new files and directories created by that user are being ignored. More importantly, if that is the case, does anyone know where/what we can configure to provide its group with read access as well?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jtm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Nov 2013 17:22:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476895#M18416</guid>
      <dc:creator>JoanneMcGraw</dc:creator>
      <dc:date>2013-11-29T17:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476896#M18417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What is the path for the log files? I thought they were under &amp;lt;serverinstall&amp;gt;/usr/logs - but no logs under /usr&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 13:13:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476896#M18417</guid>
      <dc:creator>BubbaHey</dc:creator>
      <dc:date>2013-12-05T13:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476897#M18418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Our log files are under &amp;lt;serverinstall&amp;gt;/usr/logs, as you suggest. Actually, they are under &amp;lt;serverinstall&amp;gt;/usr/logs/&amp;lt;hostname&amp;gt;, I assume because we have a cluster of two ArcGIS Servers set up. It's the same on both servers; although the hostname is different, of course.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do not have a logs directory under usr, that suggests they are configurable in some way; at least in terms of their location. Hopefully, in terms of their permissions also.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jtm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 13:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476897#M18418</guid>
      <dc:creator>JoanneMcGraw</dc:creator>
      <dc:date>2013-12-05T13:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476898#M18419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, I'm still looking. Mine was an upgrade from 10.1 - don't know if that is a factor.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:09:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476898#M18419</guid>
      <dc:creator>BubbaHey</dc:creator>
      <dc:date>2013-12-05T16:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476899#M18420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Bubbahey, look in /arcgis/server/usr/logs, it sounds like you were looking in&amp;nbsp; the ArcGISServer folder (I could be wrong)..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On a default install of ArcGIS Server, my permissions for the logs folder are drwx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:39:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476899#M18420</guid>
      <dc:creator>ThomasMontefusco</dc:creator>
      <dc:date>2013-12-05T16:39:40Z</dc:date>
    </item>
    <item>
      <title>Re: Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476900#M18421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry cut off - &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;drwxr-xr-x&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:40:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476900#M18421</guid>
      <dc:creator>ThomasMontefusco</dc:creator>
      <dc:date>2013-12-05T16:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476901#M18422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ah.... you are correct. Duh. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My permissions are the same.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476901#M18422</guid>
      <dc:creator>BubbaHey</dc:creator>
      <dc:date>2013-12-05T16:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476902#M18423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Sorry cut off - &lt;BR /&gt;drwxr-xr-x&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tom/Bubba,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your responses.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are your log file permissions similar? I can get into the directory but, for example, the files under server are only read/write for the ArcGIS user. I can't view their contents as a member of the ArcGIS user group.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jtm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 11:23:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476902#M18423</guid>
      <dc:creator>JoanneMcGraw</dc:creator>
      <dc:date>2013-12-06T11:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476903#M18424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As mentioned, mine is an upgrade from 10.1 to 10.2 for my arcgis user I have read/write/execute permissions. But this is an upgrade, I don't know if those are default permissions.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2013 12:39:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476903#M18424</guid>
      <dc:creator>BubbaHey</dc:creator>
      <dc:date>2013-12-06T12:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476904#M18425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I contacted ESRI Support about this question and detailed some additional info to them:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;In our environment, our ArcGIS Server user has a umask command in its profile that sets its create permissions to 640 (the '4' indicates members of the same group should get read and execute permissions - the execute permissions are necessary in case it's a directory so the group member can "cd" into it). Since the ArcGIS Server is started with the ArcGIS Server user's account, we expected it to use those settings. Instead, new log files continue to be created with 600 permissions. &lt;BR /&gt;&lt;BR /&gt;So, is ArcGIS Server code overriding the umask settings somehow? &lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And, their response:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yes, ArcGIS Server will create a file with access for ArcGIS Server account only. It is recommended not to access the log files from outside of ArcGIS Server Manager.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since ArcGIS Server Manager doesn't provide search capabilities on the logs or the ability to load the entire contents of, say, a VERBOSE-level log in one screen (and because we can't think of any rational reason why granting group members read permissions on those files should be problematic), we're just going to ignore that limitation and continue overwriting ArcGIS Server's permissions for the account after the files are created; pain that that is.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll let you know if doing so results in any problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jtm&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 14:02:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476904#M18425</guid>
      <dc:creator>JoanneMcGraw</dc:creator>
      <dc:date>2013-12-10T14:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476905#M18426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the information! Also, yes I prefer to view log in Server Manager, but sometimes you can't get to Server Manager, so you would need to access the logs from that location and hope, maybe the logs give an idea as to what is wrong.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 15:29:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/476905#M18426</guid>
      <dc:creator>BubbaHey</dc:creator>
      <dc:date>2013-12-10T15:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Log file permissions on Linux</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/1103611#M31208</link>
      <description>&lt;P&gt;I'm responding to a very old post here; hopefully someone will see this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need to be able to track these logs using a log-aggregator, in our case 'splunk'.&amp;nbsp; &amp;nbsp;It will be simple enough to add the 'splunk' user to the arcgis group.&amp;nbsp; &amp;nbsp; &amp;nbsp;But the arcgis directories are stored with 700 permissions, and the log files with 600 permissions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We want to use 750 and 640 permissions, so that a member of the same GROUP can read the files.&lt;/P&gt;&lt;P&gt;How can we override the umask associated with the creation of these log files and their parent directories?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Sep 2021 16:45:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/log-file-permissions-on-linux/m-p/1103611#M31208</guid>
      <dc:creator>JonathanEpstein</dc:creator>
      <dc:date>2021-09-30T16:45:24Z</dc:date>
    </item>
  </channel>
</rss>

