<?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: Granting permissions on the SAS Enterprise Guide. in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Granting-permissions-on-the-SAS-Enterprise-Guide/m-p/525839#M32852</link>
    <description>&lt;P&gt;This looks like a followup to your earlier post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-grant-access-to-a-table-built-in-SAS/m-p/524782#M142727" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-to-grant-access-to-a-table-built-in-SAS/m-p/524782#M142727&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As already mentioned, a SAS library is not a relational database. There is no concept of a SCHEMA at all. When you run your LIBNAME statement you are creating a pointer to an OS folder where SAS datasets are stored as specially-formatted OS files. The pointer you create, in your case JANUS is what is called a library reference or LIBREF for short.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can't use SQL permissions statements on a SAS library. Instead permissions are controlled at the OS level. If a user has read permissions on your Unix folder - /sasdata/mids_output02/rjs - then they will be able to assign the LIBNAME and read the data. If you are not familiar with the Unix command to set folder permissions (chmod I believe) then talk to your SAS administrator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To understand basic concepts like what is a SAS data library reading the documentation is helpful: &lt;A href="https://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=n0h2sjhthqhfogn1h6rxh3dvaiwj.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=n0h2sjhthqhfogn1h6rxh3dvaiwj.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Jan 2019 20:17:37 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2019-01-09T20:17:37Z</dc:date>
    <item>
      <title>Granting permissions on the SAS Enterprise Guide.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Granting-permissions-on-the-SAS-Enterprise-Guide/m-p/525815#M32851</link>
      <description>&lt;P&gt;We're using SAS EG&amp;nbsp;7.13 HF1 (7.100.3.5419) (64-bit)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to Grant privileges to&amp;nbsp;a SCHEMA on a SAS server.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to figure out the where I actually put this Grant statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do I put the statement within the [proc sql; ---quit;]&amp;nbsp; block?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, if I'm trying to grant privileges to all the objects in the below folder how am I going to write that GRANT statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname JANUS '/sasdata/mids_output02/rjs/';&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get an error when I try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;GRANT SELECT ON&amp;nbsp;SCHEMA "JANUS" TO USERS;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the Project tree I'm basing this off. What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/25991i911F4C4A24D2E1A8/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="directory.PNG" title="directory.PNG" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 18:47:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Granting-permissions-on-the-SAS-Enterprise-Guide/m-p/525815#M32851</guid>
      <dc:creator>Tater_Salad</dc:creator>
      <dc:date>2019-01-09T18:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Granting permissions on the SAS Enterprise Guide.</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Granting-permissions-on-the-SAS-Enterprise-Guide/m-p/525839#M32852</link>
      <description>&lt;P&gt;This looks like a followup to your earlier post:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Programming/How-to-grant-access-to-a-table-built-in-SAS/m-p/524782#M142727" target="_blank"&gt;https://communities.sas.com/t5/SAS-Programming/How-to-grant-access-to-a-table-built-in-SAS/m-p/524782#M142727&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As already mentioned, a SAS library is not a relational database. There is no concept of a SCHEMA at all. When you run your LIBNAME statement you are creating a pointer to an OS folder where SAS datasets are stored as specially-formatted OS files. The pointer you create, in your case JANUS is what is called a library reference or LIBREF for short.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can't use SQL permissions statements on a SAS library. Instead permissions are controlled at the OS level. If a user has read permissions on your Unix folder - /sasdata/mids_output02/rjs - then they will be able to assign the LIBNAME and read the data. If you are not familiar with the Unix command to set folder permissions (chmod I believe) then talk to your SAS administrator.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To understand basic concepts like what is a SAS data library reading the documentation is helpful: &lt;A href="https://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=n0h2sjhthqhfogn1h6rxh3dvaiwj.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?docsetId=lrcon&amp;amp;docsetTarget=n0h2sjhthqhfogn1h6rxh3dvaiwj.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jan 2019 20:17:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Granting-permissions-on-the-SAS-Enterprise-Guide/m-p/525839#M32852</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2019-01-09T20:17:37Z</dc:date>
    </item>
  </channel>
</rss>

