<?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: SASUSER library issue in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SASUSER-library-issue/m-p/786305#M251028</link>
    <description>&lt;P&gt;You might describe why you think you need to work with SASUSER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revealed wisdom for many iterations of SAS, going back to version 6, is that you should not really be using the SASUSER library for data. Create other libraries for your data. SASUSER is supposed to be for things like the preferences of your use such as appear in the Profile catalog.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Dec 2021 15:44:33 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2021-12-16T15:44:33Z</dc:date>
    <item>
      <title>SASUSER library issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASUSER-library-issue/m-p/786301#M251027</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I'm facing an issue about SASUSER library and I don't find any solution.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;in /sas/config/lev1/sasapp/workspaceserver/WorkspaceServer_usermods.sh&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;export SASUSER=$(id -un)&lt;/PRE&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;in /sas/config/lev1/sasapp/sasv9_usermods.cfg&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;-SASUSER "/sas/sasuser/$SASUSER/"&lt;/PRE&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;in the filesystem&lt;/STRONG&gt;&lt;/U&gt;&lt;/P&gt;
&lt;PRE&gt;lrwxrwxrwx.  1 sas sas   13 Oct  6 17:19 sasuser -&amp;gt; share/sasuser

in /sas/share

drwxrwsrwt.  4 sas sas   50 Dec 16 15:47 sasuser&lt;/PRE&gt;
&lt;P&gt;via the filesystem, I can create a file with a user who is member of the sas group.&lt;/P&gt;
&lt;P&gt;But via Enterprise Guide, if I try to create a dataset in SASUSER library (/sas/sasuser/&amp;lt;userid&amp;gt;), I receive the following error message:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#FF0000"&gt;ERROR: Write access to member SASUSER.TEST.DATA is denied.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I missed ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;many thanks for your help&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 14:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASUSER-library-issue/m-p/786301#M251027</guid>
      <dc:creator>maubry</dc:creator>
      <dc:date>2021-12-16T14:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: SASUSER library issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASUSER-library-issue/m-p/786305#M251028</link>
      <description>&lt;P&gt;You might describe why you think you need to work with SASUSER.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revealed wisdom for many iterations of SAS, going back to version 6, is that you should not really be using the SASUSER library for data. Create other libraries for your data. SASUSER is supposed to be for things like the preferences of your use such as appear in the Profile catalog.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 15:44:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASUSER-library-issue/m-p/786305#M251028</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-12-16T15:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: SASUSER library issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASUSER-library-issue/m-p/786311#M251029</link>
      <description>SAS User shouldn't be set to a temporary work space for each users, usually that's a folder under home for each users, ie /home/maubry/....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Dec 2021 16:19:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASUSER-library-issue/m-p/786311#M251029</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-12-16T16:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: SASUSER library issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASUSER-library-issue/m-p/786352#M251057</link>
      <description>&lt;P&gt;Check the RSASUSER SAS option in your SAS session by running this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc options option = rsasuser;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;If you see this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;34         proc options option = rsasuser;
35         run;

    SAS (r) Proprietary Software Release 9.4  TS1M2

 RSASUSER          Opens the Sasuser library in Read-Only mode.
NOTE: PROCEDURE OPTIONS used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the option is set on you will get the behaviour you are seeing:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;34         data sasuser.class;
35           set sashelp.class;
36         run;

ERROR: Write access to member SASUSER.CLASS.DATA is denied.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: DATA statement used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 19:11:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASUSER-library-issue/m-p/786352#M251057</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2021-12-16T19:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: SASUSER library issue</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SASUSER-library-issue/m-p/786394#M251077</link>
      <description>&lt;P&gt;Do you really have a symbolic link to a relative path?&amp;nbsp; That seems like a bad idea.&lt;/P&gt;
&lt;PRE&gt;lrwxrwxrwx.  1 sas sas   13 Oct  6 17:19 sasuser -&amp;gt; share/sasuser&lt;/PRE&gt;
&lt;P&gt;Do you even have a share subdirectory?&amp;nbsp; Does it contain a sasuser directory?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But let's assume you have figured out the paths properly then the error message is saying the the directory you pointed SASUSER to for this user is one that this user cannot write to.&amp;nbsp; So the permissions on that directory are wrong.&lt;/P&gt;
&lt;P&gt;What are the permission on that directory for the userid you are using?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it owned by that userid? Is the user write bit set?&lt;/P&gt;
&lt;P&gt;Is the user at least the group that owns the directory?&amp;nbsp; Is the group write bit set?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 22:15:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SASUSER-library-issue/m-p/786394#M251077</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-12-16T22:15:44Z</dc:date>
    </item>
  </channel>
</rss>

