<?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: Insufficient authorization  to access the file [SASCONFIG]\Lev1\SASApp\sasgraph.png in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-the-file-SASCONFIG-Lev1/m-p/879975#M347641</link>
    <description>&lt;P&gt;SAS users should not be writing to that folder location at all because it is a SAS installation folder. All non-admin SAS users should have read-only access. I have seen that behaviour myself too. Can you please post an example of the code causing that problem.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 22:12:35 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2023-06-09T22:12:35Z</dc:date>
    <item>
      <title>Insufficient authorization  to access the file [SASCONFIG]\Lev1\SASApp\sasgraph.png</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-the-file-SASCONFIG-Lev1/m-p/879958#M347629</link>
      <description>&lt;P&gt;We have SAS 9.4 installed on a windows server.&lt;/P&gt;
&lt;P&gt;Often users get the error&amp;nbsp; "insufficient authorization&amp;nbsp; to access the file [SASCONFIG]\Lev1\SASApp\sasgraph.png" .&lt;BR /&gt;On investigation it was observed that multiple user's are executing some procedure ( for example proc reg.) that creates a graph with the default name sasgraph.png.&lt;BR /&gt;While the first user is able to create a graph , any subsequent attempt&amp;nbsp; results in an error.&lt;BR /&gt;Wondering if there is a feasible solution for preventing this from happening ?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 19:52:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-the-file-SASCONFIG-Lev1/m-p/879958#M347629</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2023-06-09T19:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization  to access the file [SASCONFIG]\Lev1\SASApp\sasgraph.png</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-the-file-SASCONFIG-Lev1/m-p/879975#M347641</link>
      <description>&lt;P&gt;SAS users should not be writing to that folder location at all because it is a SAS installation folder. All non-admin SAS users should have read-only access. I have seen that behaviour myself too. Can you please post an example of the code causing that problem.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 22:12:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-the-file-SASCONFIG-Lev1/m-p/879975#M347641</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-06-09T22:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization  to access the file [SASCONFIG]\Lev1\SASApp\sasgraph.png</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-the-file-SASCONFIG-Lev1/m-p/879994#M347655</link>
      <description>&lt;P&gt;If you are using ODS graphs to make graphs you have to tell ODS where to create the PNG files it makes.&amp;nbsp; Otherwise it tries to make them in the current working directory.&amp;nbsp; But if you launched SAS using a front-end tool like SAS/Studio or Enterprise Guide then you normally do not have write access to the current working directory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try something like in this help file.&amp;nbsp;&amp;nbsp;&lt;A href="https://support.sas.com/kb/49/421.html" target="_blank"&gt;https://support.sas.com/kb/49/421.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 04:34:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-the-file-SASCONFIG-Lev1/m-p/879994#M347655</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2023-06-10T04:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization  to access the file [SASCONFIG]\Lev1\SASApp\sasgraph.png</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-the-file-SASCONFIG-Lev1/m-p/880448#M347881</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp; &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp; for the response.&lt;BR /&gt;SAS users have read only access to that folder. No write access.&lt;BR /&gt;I used the following sample code and was run by different users. For some sasgraph.png was produced in the [SASApp] folder for others it was not.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc reg data=sashelp.class plots =(DiagnosticsPanel ResidualPlot(smooth));
model weight=age height / vif spec hcc HCCMETHOD=3;
output out=result r=Residual predicted=pred;
plot r.*p.;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;All users user SAS EG to execute code on the server.&lt;/P&gt;
&lt;P&gt;As a further note the SASINITIALFOLDER option is to set to the [SASAPP] folder.&lt;/P&gt;
&lt;P&gt;As a side note, I do see user files being dropped in [SASApp] folder on rare occasions. None of the users have write access to this location.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 16:38:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-the-file-SASCONFIG-Lev1/m-p/880448#M347881</guid>
      <dc:creator>thesasuser</dc:creator>
      <dc:date>2023-06-13T16:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Insufficient authorization  to access the file [SASCONFIG]\Lev1\SASApp\sasgraph.png</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-the-file-SASCONFIG-Lev1/m-p/880534#M347905</link>
      <description>&lt;P&gt;SAS obeys Windows permissions. I can only assume that SAS users who were able to write to SASApp had the Windows permissions to do so otherwise they would get the error you've posted about.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try the workarounds in the SAS Note&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/159"&gt;@Tom&lt;/a&gt;&amp;nbsp;links to.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Jun 2023 20:03:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Insufficient-authorization-to-access-the-file-SASCONFIG-Lev1/m-p/880534#M347905</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-06-13T20:03:00Z</dc:date>
    </item>
  </channel>
</rss>

