<?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: Metadata server log permission in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652844#M19058</link>
    <description>&lt;BR /&gt;Yes all files created using SAS installer account has 600 permissions (ex: objectspwaner,metadata,etc but not the mid tier server logs have 640 permissions).&lt;BR /&gt;I changed like below&lt;BR /&gt;&amp;lt;param name="FilePermissions" value="A::u::rw-,A::g::---,A::o::---"/&amp;gt;&lt;BR /&gt;it worked in Workspace server logconfig file as that one doesn't have rolling log.&lt;BR /&gt;&lt;BR /&gt;I am looking for only logs with 644 permissions. If I change umask to 0022 in .bashrc then it is for all files which is created by sas installer account?</description>
    <pubDate>Wed, 03 Jun 2020 12:32:15 GMT</pubDate>
    <dc:creator>sathya66</dc:creator>
    <dc:date>2020-06-03T12:32:15Z</dc:date>
    <item>
      <title>Metadata server log permission</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652792#M19055</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;Currently our&amp;nbsp;SASMeta_MetadataServer.log log permissions are set to 600 .How can we set the metadata server log file permission to 644.&lt;/P&gt;&lt;P&gt;I tried to set the permissions in logconfig.xml in metadata server but it didn't help us as that file has Rolling log file with default rollover of midnight.&lt;/P&gt;&lt;P&gt;is there anyway we can set to 644 or please can you advise on this.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SS&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 09:23:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652792#M19055</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2020-06-03T09:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata server log permission</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652810#M19056</link>
      <description>Does only the Metadata logs are generated with 600 permission or any file created using 'SAS Installer Account' with same permission?&lt;BR /&gt;&lt;BR /&gt;Could you please share how did you change this config in logconfig.xml file? &lt;BR /&gt;&lt;BR /&gt;you can try to set umask value for the 'SAS Installer Account' to 0022. This will generate all the files by this ID with permission of 644. You can add this in .bashrc file for this user.</description>
      <pubDate>Wed, 03 Jun 2020 11:01:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652810#M19056</guid>
      <dc:creator>AnandVyas</dc:creator>
      <dc:date>2020-06-03T11:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata server log permission</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652844#M19058</link>
      <description>&lt;BR /&gt;Yes all files created using SAS installer account has 600 permissions (ex: objectspwaner,metadata,etc but not the mid tier server logs have 640 permissions).&lt;BR /&gt;I changed like below&lt;BR /&gt;&amp;lt;param name="FilePermissions" value="A::u::rw-,A::g::---,A::o::---"/&amp;gt;&lt;BR /&gt;it worked in Workspace server logconfig file as that one doesn't have rolling log.&lt;BR /&gt;&lt;BR /&gt;I am looking for only logs with 644 permissions. If I change umask to 0022 in .bashrc then it is for all files which is created by sas installer account?</description>
      <pubDate>Wed, 03 Jun 2020 12:32:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652844#M19058</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2020-06-03T12:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata server log permission</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652855#M19059</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;If I change umask to 0022 in .bashrc then it is for all files which is created by sas installer account?&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Yes.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 12:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652855#M19059</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2020-06-03T12:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata server log permission</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652861#M19060</link>
      <description>&lt;P&gt;Ignore me.&lt;BR /&gt;It worked ,If I change logconfig.xml file&lt;BR /&gt;from &amp;lt;param name="FilePermissions" value=&lt;STRONG&gt;"&lt;FONT color="#FF0000"&gt;A::u::rw-,A::g::---,A::o:&lt;/FONT&gt;:&lt;/STRONG&gt;---"/&amp;gt;&lt;BR /&gt;to &amp;lt;param name="FilePermissions" value=&lt;FONT color="#008000"&gt;&lt;STRONG&gt;"A::u::rw-,A::g::r--,A::o::r&lt;/STRONG&gt;&lt;/FONT&gt;--"/&amp;gt;&lt;BR /&gt;group and other should have "&lt;STRONG&gt;r--&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;Thanks for your response and help.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jun 2020 13:05:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652861#M19060</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2020-06-03T13:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata server log permission</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652864#M19061</link>
      <description>&lt;P&gt;The FilePermissions parameter is valid for the RollingFileAppender. Did you restart the Metadata Server after making the change?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=logug&amp;amp;docsetVersion=9.4&amp;amp;docsetTarget=n0gw07g9c4l1byn1l0kb070ahf33.htm&amp;amp;locale=en#" target="_self"&gt;SAS® 9.4 Logging: Configuration and Programming Reference - RollingFileAppender&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your example seems to indicate you are setting the permissions to 600 instead of 644. Here is the example from the documentation:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE class="xisDoc-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD class="xisDoc-summaryExample"&gt;Example&lt;/TD&gt;
&lt;TD class="xisDoc-summaryText"&gt;The following parameter sets permissions that enable only the owning user to write to the log file. All other users can only read the file.
&lt;PRE class="xisDoc-codeFragment"&gt;&lt;CODE&gt;&amp;lt;param name="FilePermissions" value="A::u::rw-,A::g::r--,A::o::r--"/&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Wed, 03 Jun 2020 13:11:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652864#M19061</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2020-06-03T13:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata server log permission</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652871#M19062</link>
      <description>Yes, I wanted to see the file permissions straight away after making the change so I restarted the metadata server otherwise I need to wait until next day to see the file permission is changed or not .&lt;BR /&gt;I think we don't need to restart the metadata server.</description>
      <pubDate>Wed, 03 Jun 2020 13:23:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652871#M19062</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2020-06-03T13:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata server log permission</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652879#M19063</link>
      <description>The contents of the log configuration file are only read during startup, so changes would not be read in unless the server is restarted.&lt;BR /&gt;For on-demand servers like a Workspace Server this means the log configuration is read when the next Workspace Server starts, but for persistent servers like Object Spawners and Metadata a restart is required.</description>
      <pubDate>Wed, 03 Jun 2020 13:55:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/652879#M19063</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2020-06-03T13:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata server log permission</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/804710#M24111</link>
      <description>&lt;P&gt;By setting up the permissions like this. It is only creating a file with 644 permissions after restarting metadata server but not giving the 644 permissions for every day logs.Any idea?&lt;/P&gt;
&lt;P&gt;Our logs rotates every day(time-based ).&lt;/P&gt;
&lt;P&gt;See below on 19&lt;SUP&gt;th&lt;/SUP&gt; we restarted metadata server so it has given 644 but remaining logs it is with 600 only&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sathya66_0-1648552171743.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/69901i5DD23DBBCEFF839D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sathya66_0-1648552171743.png" alt="sathya66_0-1648552171743.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Mar 2022 11:10:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/804710#M24111</guid>
      <dc:creator>sathya66</dc:creator>
      <dc:date>2022-03-29T11:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Metadata server log permission</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/804886#M24114</link>
      <description>You may wish to engage SAS Technical Support to review the configuration and behavior.</description>
      <pubDate>Tue, 29 Mar 2022 20:46:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Metadata-server-log-permission/m-p/804886#M24114</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2022-03-29T20:46:07Z</dc:date>
    </item>
  </channel>
</rss>

