<?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: ERROR: User does not have appropriate authorization level  ... in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812274#M24362</link>
    <description>&lt;P&gt;I fully agree with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;. This issue requires&amp;nbsp; a greatere understanding then we have from the posts and ticket with SAS Tech Support is the best thing to do.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2022 23:35:51 GMT</pubDate>
    <dc:creator>Sajid01</dc:creator>
    <dc:date>2022-05-09T23:35:51Z</dc:date>
    <item>
      <title>ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/810839#M24294</link>
      <description>&lt;P&gt;This should be the most easier to chase issue but it is not.&amp;nbsp; A regular puzzle.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Context&lt;/U&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;SAS scheduled batch job&lt;/LI&gt;
&lt;LI&gt;Same job in EG executes w/o an issue, when scheduled reports a failure&lt;/LI&gt;
&lt;LI&gt;Libname in log shows "Libref JNDL was successfully assigned ..."&lt;/LI&gt;
&lt;LI&gt;Navigate from file explorer to the said path = yes&lt;/LI&gt;
&lt;LI&gt;UNC path used&lt;/LI&gt;
&lt;LI&gt;The target physical folder JNDL_LD in path is accessible, the user has special permission --&amp;gt; full control could be seen in advance security tab of the folder&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;U&gt;ODD&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;/*This failed*/&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname &lt;STRONG&gt;jndl&lt;/STRONG&gt; "\\faris\studies\2022\imaging_ai\JNDL_LD";

data &lt;STRONG&gt;jndl.fnl&lt;/STRONG&gt;;
&amp;nbsp; &amp;nbsp;set xyz;     /* a simple step formatting dates */
run;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;ERROR&lt;/STRONG&gt;: User does not have appropriate authorization level for file JNDL.FNL.DATA&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;/* down few steps of the same code, note the set statement */&lt;/P&gt;
&lt;PRE&gt;data &lt;STRONG&gt;final&lt;/STRONG&gt;;
   set &lt;STRONG&gt;jndl.fnl ;    /*did this not error out above ...huh */&lt;/STRONG&gt;
    ... more format type steps
run;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;NOTE:&lt;/STRONG&gt; There were 100 observations read from the data set JNDL.FNL
&lt;/PRE&gt;
&lt;P&gt;This does not make sense to me, I have checked the user's file system permission and user has "special permissions" on JNDL_LD physical folder and viewing 'advance setting' the full permission = full control.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking for any tips ideas to what else to check ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Meanwhile, preparing to read, write in different simple step scheduled code mimicking R &amp;amp; W to JNDL_LD.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIA&lt;/P&gt;
&lt;P&gt;S&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 20:14:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/810839#M24294</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2022-04-30T20:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/810840#M24295</link>
      <description>&lt;P&gt;Most probably, the dataset is already there and was created by another user. And only this user has write permission on the dataset file.&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 20:20:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/810840#M24295</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-04-30T20:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/810852#M24296</link>
      <description>&lt;P&gt;Having permission to read but not to write is not unusual.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is SAS running on Windows operating system?&amp;nbsp; Windows file systems can have very complex permissions.&amp;nbsp; Someone once created a write only directory for me: that was very hard to use.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is everyone using Enterprise Guide to submit the SAS code?&amp;nbsp; Are they connecting to the same SAS server?&amp;nbsp; Or are some using SAS directly? Or running on their local machine?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a dataset with that name in the folder already?&amp;nbsp; What are the permissions on that file? Who is the owner?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you using managed librefs that are created automatically by SAS when your session starts?&amp;nbsp; Or did all of the test runs have to execute their own libname statement to define the libref?&lt;/P&gt;</description>
      <pubDate>Sat, 30 Apr 2022 22:34:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/810852#M24296</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2022-04-30T22:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/810906#M24297</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15279"&gt;@shoin&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Your two codes are not identical. In the following you are reading data. Indicates you have read permissions.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data final;
   set jndl.fnl ;    /*did this not error out above ...huh */
    ... more format type steps
run;
NOTE: There were 100 observations read from the data set JNDL.FNL&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In the following you are creating a file, The error nessage is clear. It says you do not have permission to write permissions to that folder.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;libname jndl "Assuming that \\faris\Astudies\2022\imaging_ai\JNDL_LD";
data jndl.fnl;
   set xyz;     /* a simple step formatting dates */
run;
&lt;STRONG&gt;ERROR: User does not have appropriate authorization level for file JNDL.FNL.DATA&lt;/STRONG&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE class=" language-sas"&gt;Assuming that \\faris\ represents a remote server \ storage location,&amp;nbsp;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;contact your System Administrators for assistance. Typically SAS Adminsitrators can check for permissions but the OS/AD level changes may be required depending upon how these are done at your organization.&amp;nbsp;&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>Sun, 01 May 2022 12:50:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/810906#M24297</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-05-01T12:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/810938#M24298</link>
      <description>It could be because you use Integrated Windows Authenticaton in the connection profile.&lt;BR /&gt;Uncheck IWA and type username and password. It is important that you use the domain in the username eg mydomain\myuser.&lt;BR /&gt;The reason is that you “loose the domain” when you “jump to the next server” using UNC-path with IWA.</description>
      <pubDate>Sun, 01 May 2022 16:19:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/810938#M24298</guid>
      <dc:creator>CHandberg</dc:creator>
      <dc:date>2022-05-01T16:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812228#M24347</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/131732"&gt;@Sajid01&lt;/a&gt;, thank you for your reply.  The two steps were listed to show that the first step has a comment that states the previous step to the one listed 'failed' yet that step showed data read.  &lt;BR /&gt;&lt;BR /&gt;Yes, second step shows write error.  However, when run interactive through an EG session, the same code is executed properly w/o any error.&lt;BR /&gt;&lt;BR /&gt;The issue occurs when run as batch and or when scheduled (via sas scheduler).  That is the issue I am trying to find an answer to and not finding any resolution.  I have asked Server admin and looked in detail at the 'security' permissions applied on the UNC share and 'effective' permission and they translate to 'full permissions' for the user running it in EG as well as batch.  A regular Sherlock saga.</description>
      <pubDate>Mon, 09 May 2022 17:46:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812228#M24347</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2022-05-09T17:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812229#M24348</link>
      <description>Hello Chris, thank you for the suggestion.  As I replied to Sajid01 above, "The issue occurs when run as batch and or when scheduled (via sas scheduler).  That is the issue I am trying to find an answer to and not finding any resolution.  I have asked Server admin and looked in detail at the 'security' permissions applied on the UNC share and 'effective' permission and they translate to 'full permissions' for the user running it in EG as well as batch. " --&amp;gt; is the real problem.  I will ensure we do not have IWA selected (we have not implemented SSO / IWA in this environment).  &lt;BR /&gt;&lt;BR /&gt;This is the 2nd such issue I am dealing with.  The other one is for hdisk MS error 58, simple error (authorization) yet everyway one checks it does not make sense.&lt;BR /&gt;</description>
      <pubDate>Mon, 09 May 2022 17:49:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812229#M24348</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2022-05-09T17:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812233#M24349</link>
      <description>&lt;P&gt;*** Update ***&lt;/P&gt;
&lt;P&gt;In troubleshooting, found the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;No authorization issue when pgm is run via EG (same UNC path)&lt;/LI&gt;
&lt;LI&gt;Issue occurs same step when run as batch&lt;/LI&gt;
&lt;LI&gt;New:
&lt;OL&gt;
&lt;LI&gt;In the same UNC path if the same dataset exists (or a file) the "not authorized" error occurs.&amp;nbsp; However, the first new write it does not.&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;For AD and file system security the owner ID has "full permission" also confirmed with effective permission list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a SAS option that affects the said behavior of not overwriting an existing dataset? (better to ask than to wonder).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIA&lt;/P&gt;
&lt;P&gt;S&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 17:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812233#M24349</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2022-05-09T17:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812236#M24350</link>
      <description>Hi Kurt, yes indeed that is what we found that the dataset was there and it could not be over written (I just posted detail replies and did not see yours till now, lol).  I did not check who owned it, I will do so now.  It is a WIN file system (unc file share).</description>
      <pubDate>Mon, 09 May 2022 18:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812236#M24350</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2022-05-09T18:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812237#M24351</link>
      <description>- Yes WIN OS&lt;BR /&gt;- when using EG no issue, even target pre-existing dataset gets over-written, when run in batch (scheduled via SAS schedule manager) this error occurs (No IWA no token ID that runs object spawner)&lt;BR /&gt;- Group owns and permissions are for the owner 'full permissions' and other group member R,W,E,M,L &lt;BR /&gt;- Libnames are created in the sas pgm (I will check again), some via autoexec.sas&lt;BR /&gt;&lt;BR /&gt;Much thanks for your time and suggestions.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 May 2022 18:04:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812237#M24351</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2022-05-09T18:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812238#M24352</link>
      <description>&lt;P&gt;BTW, same code via EG executes and overwrites the pre-existing dataset in the UNC path, only in batch it errors on the same step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;TIA&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 18:05:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812238#M24352</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2022-05-09T18:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812243#M24354</link>
      <description>&lt;P&gt;quick update, the user is the same who tries with EG (successful) and batch (fails with authorization error) and this user has 'full permission' on the said folder's parent&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 18:30:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812243#M24354</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2022-05-09T18:30:29Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812244#M24355</link>
      <description>&lt;P&gt;As I understand it, the batch job too is running from the desktop and you have a local installation.&lt;BR /&gt;If that is indeed correct, mount the remote location and assign a drive letter. For example "X".&lt;/P&gt;
&lt;P&gt;Thus if \\faris is mounted at the drive X on your local desktop, then the libname would be&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;libname jndl "X:\studies\2022\imaging_ai\JNDL_LD";&lt;/PRE&gt;
&lt;P&gt;For all practical purposes the remote location behaves as a local drive.&amp;nbsp; It should work with both EG and in batch mode.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 18:41:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812244#M24355</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-05-09T18:41:28Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812260#M24360</link>
      <description>Thank you &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/131732"&gt;@Sajid01&lt;/a&gt;.  This is a server-client setup (EG on user's laptop, connecting to SAS server which has been presented the UNC path).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 09 May 2022 20:24:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812260#M24360</guid>
      <dc:creator>shoin</dc:creator>
      <dc:date>2022-05-09T20:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812269#M24361</link>
      <description>&lt;P&gt;It sounds like further diagnosing of your SAS environment is required to get a resolution of this problem. Raising a Tech Support track in this case should help if you haven't done so already. I assume you are using the same user account to both connect to SAS via EG and to schedule the same job in batch mode.&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 02:58:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812269#M24361</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-05-10T02:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR: User does not have appropriate authorization level  ...</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812274#M24362</link>
      <description>&lt;P&gt;I fully agree with&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;. This issue requires&amp;nbsp; a greatere understanding then we have from the posts and ticket with SAS Tech Support is the best thing to do.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 23:35:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/ERROR-User-does-not-have-appropriate-authorization-level/m-p/812274#M24362</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2022-05-09T23:35:51Z</dc:date>
    </item>
  </channel>
</rss>

