<?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: Enterprise Guide Linux Permissions to run code in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Linux-Permissions-to-run-code/m-p/814727#M40720</link>
    <description>&lt;P&gt;I haven't tested, but I would think read permission would be enough.&amp;nbsp; As long as EG can open the program, you should be fine.&amp;nbsp; EG isn't really executing the .sas file, it's taking the code in the .sas file and sending it off to the server to execute.&amp;nbsp; Similarly for a %include, read access should be fine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course if you have a linux server at hand, should only take 10 minutes to test it and confirm.&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2022 15:37:26 GMT</pubDate>
    <dc:creator>Quentin</dc:creator>
    <dc:date>2022-05-23T15:37:26Z</dc:date>
    <item>
      <title>Enterprise Guide Linux Permissions to run code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Linux-Permissions-to-run-code/m-p/814723#M40719</link>
      <description>&lt;P&gt;I've been searching for answers to these questions, but not finding anything definitive. What Linux permission(s) are needed on a .sas code file for a user to be able to open the file and run the code within Enterprise Guide? Is it just 'Read' permission?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it any different if you are doing a %include of another .sas file within the script, does that %include'd .sas file only need to have 'Read' permission for the user running the code within Enterprise Guide?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the 'Execute' permission only needed for a user submitting in batch on Linux?&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 15:16:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Linux-Permissions-to-run-code/m-p/814723#M40719</guid>
      <dc:creator>DerekD_WF</dc:creator>
      <dc:date>2022-05-23T15:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Guide Linux Permissions to run code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Linux-Permissions-to-run-code/m-p/814727#M40720</link>
      <description>&lt;P&gt;I haven't tested, but I would think read permission would be enough.&amp;nbsp; As long as EG can open the program, you should be fine.&amp;nbsp; EG isn't really executing the .sas file, it's taking the code in the .sas file and sending it off to the server to execute.&amp;nbsp; Similarly for a %include, read access should be fine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Of course if you have a linux server at hand, should only take 10 minutes to test it and confirm.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 15:37:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Linux-Permissions-to-run-code/m-p/814727#M40720</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2022-05-23T15:37:26Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Guide Linux Permissions to run code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Linux-Permissions-to-run-code/m-p/814732#M40721</link>
      <description>&lt;P&gt;Do not set the execute bit on a .sas file in Unix.&amp;nbsp; That will just confuse Unix into thinking that it can directly execute the file.&amp;nbsp; But the file has SAS code, not Unix shell commands, so if you try to execute no good things will happen.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 16:31:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Linux-Permissions-to-run-code/m-p/814732#M40721</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-05-23T16:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Guide Linux Permissions to run code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Linux-Permissions-to-run-code/m-p/814733#M40722</link>
      <description>&lt;P&gt;Thanks for this - I don't plan on executing this specific code in batch, but for future knowledge would the same be true for .sas files that one would want to submit in batch, like scheduled with cron or other means?&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 16:32:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Linux-Permissions-to-run-code/m-p/814733#M40722</guid>
      <dc:creator>DerekD_WF</dc:creator>
      <dc:date>2022-05-23T16:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Enterprise Guide Linux Permissions to run code</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Linux-Permissions-to-run-code/m-p/814736#M40723</link>
      <description>&lt;P&gt;Yes.&amp;nbsp; You would schedule a job to execute SAS itself.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you might have a line like this to run a SAS program at midnight every night.&lt;/P&gt;
&lt;PRE&gt;0 0 * * * 'cd /myfiles ; sas myprogram.sas'&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 16:40:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Enterprise-Guide-Linux-Permissions-to-run-code/m-p/814736#M40723</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-05-23T16:40:16Z</dc:date>
    </item>
  </channel>
</rss>

