<?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: Applying umask 007 to all (with possible exceptions) in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762650#M22842</link>
    <description>&lt;PRE&gt;[sas@trcv003 WorkspaceServer]$ umask
0002
[sas@trcv003 WorkspaceServer]$ ./WorkspaceServer.sh -nodms -nonews
NOTE: Copyright (c) 2016 by SAS Institute Inc., Cary, NC, USA. 
...
NOTE: AUTOEXEC processing completed.

  1? x "touch /tmp/testfile";
  2? endsas;
...   
[sas@trcv003 WorkspaceServer]$ ls -l /tmp/testfile
-rw-rw-r-- 1 sas sas 0 Aug 19 14:56 /tmp/testfile
[sas@trcv003 WorkspaceServer]$ echo "umask 007" &amp;gt;&amp;gt; WorkspaceServer_usermods.sh 
[sas@trcv003 WorkspaceServer]$ ./WorkspaceServer.sh -nodms -nonews
NOTE: Copyright (c) 2016 by SAS Institute Inc., Cary, NC, USA. 
...
  1? x "touch /tmp/testfile2";
  2? endsas;
...
[sas@trcv003 WorkspaceServer]$ ls -l /tmp/testfile2
-rw-rw---- 1 sas sas 0 Aug 19 14:57 /tmp/testfile2
[sas@trcv003 WorkspaceServer]$ &lt;/PRE&gt;</description>
    <pubDate>Thu, 19 Aug 2021 18:59:48 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2021-08-19T18:59:48Z</dc:date>
    <item>
      <title>Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762423#M22830</link>
      <description>&lt;P&gt;On a Unix SAS BI Platform, version 9.3, we are trying to change the umask of our users to 007. We were given this document as a reference:&amp;nbsp;&lt;A href="https://support.sas.com/kb/38/040.html" target="_blank" rel="noopener"&gt;38040 - Setting umask and ulimit values for SAS® sessions on UNIX and Linux&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first attempt was not successful. We tried several things, but not one of them seems to affect the umask for new user sessions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are a few questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Is there a service or server that needs to be restarted in order for the changes to take effect?&lt;/P&gt;&lt;P&gt;2. One of the files we tried changing was &lt;FONT face="courier new,courier"&gt;&lt;FONT face="terminal,monaco"&gt;WorkspaceServer/WorkspaceServer_usermods.sh&lt;/FONT&gt;&lt;/FONT&gt;. However, here is this file's content prior to making any change:&lt;/P&gt;&lt;PRE&gt;#!/bin/sh -p
#
# WorkspaceServer_usermods.sh
#
# This script extends WorkspaceServer.sh.  Add local environment variables
# to this file so they will be preserved.
#

USERMODS_OPTIONS=
umask 022&lt;/PRE&gt;&lt;P&gt;Changing the umask value to 007 did not work -- maybe because there is some service or server that needs to be restarted. Even if this is the case, given the current file's content, how do we go from this to this suggestion from the 38040 note (we will indeed need to specify a different umask for some users)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;if [ "$LOGNAME" = joe00001 ]
then
umask 022
fi&lt;/PRE&gt;&lt;P&gt;Where does the &lt;FONT face="terminal,monaco"&gt;USERMODS_OPTIONS=&lt;/FONT&gt;&amp;nbsp; line fit into this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 01:30:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762423#M22830</guid>
      <dc:creator>Dodecaphonic</dc:creator>
      <dc:date>2021-08-19T01:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762502#M22831</link>
      <description>&lt;P&gt;The instructions in&amp;nbsp;&lt;A href="https://support.sas.com/kb/38/040.html" target="_blank"&gt;https://support.sas.com/kb/38/040.html&lt;/A&gt;&amp;nbsp;are very clear.&lt;BR /&gt;For changes to take effect in workspace server, the umash option has to be in &lt;SPAN&gt;ObjectSpawner.sh.&lt;BR /&gt;Now about "Is there a service or server that needs to be restarted in order for the changes to take effect?". The answer is no.&lt;BR /&gt;Be aware that umask of 007 means a permission of 770.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 12:16:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762502#M22831</guid>
      <dc:creator>Sajid01</dc:creator>
      <dc:date>2021-08-19T12:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762503#M22832</link>
      <description>Adding "umask 007" to the WorkspaceServer_usermods.sh script triggers that command to be run when a Workspace Server starts. This would not require any services be restarted as Workspace Servers are started on demand.&lt;BR /&gt;&lt;BR /&gt;The USERMODS_OPTIONS= line allows you to add system options to the execution of the SAS executable as you would when running base SAS from the command line, which is not needed to set the umask.&lt;BR /&gt;&lt;BR /&gt;Are the user sessions you are trying to control the umask for Workspace Server sessions (i.e. Enterprise Guide, SAS Studio sessions)?</description>
      <pubDate>Thu, 19 Aug 2021 12:16:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762503#M22832</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-08-19T12:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762534#M22833</link>
      <description>&lt;P&gt;Following a umask of 007, a standard user creates a &lt;EM&gt;file&lt;/EM&gt; with 660 - rw- rw- --- permission profile as required by the &lt;STRONG&gt;default permissions&lt;/STRONG&gt; at creation step. See for Linux &lt;A href="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/assembly_managing-file-permissions_configuring-basic-system-settings#user-file-creation-mode-mask_assembly_managing-file-permissions" target="_blank"&gt;https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/assembly_managing-file-permissions_configuring-basic-system-settings#user-file-creation-mode-mask_assembly_managing-file-permissions&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Following the same umask, a &lt;EM&gt;directory&lt;/EM&gt; is created with 770 (rwx rwx ---) permission profile.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It's standard security on Unix/Linux not to grant execution permission by default to a file, it must be set explicitly unless you are root.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 13:26:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762534#M22833</guid>
      <dc:creator>ronan</dc:creator>
      <dc:date>2021-08-19T13:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762600#M22838</link>
      <description>They might be clear, but they just don't seem to work. We did try modifyinng ObjectSpawner_usermods.sh, which is called by Object_Spawner.sh.</description>
      <pubDate>Thu, 19 Aug 2021 17:03:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762600#M22838</guid>
      <dc:creator>Dodecaphonic</dc:creator>
      <dc:date>2021-08-19T17:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762601#M22839</link>
      <description>The question is not about which umask to use, but thanks for your input.</description>
      <pubDate>Thu, 19 Aug 2021 17:06:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762601#M22839</guid>
      <dc:creator>Dodecaphonic</dc:creator>
      <dc:date>2021-08-19T17:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762603#M22840</link>
      <description>&lt;P&gt;Hi Greg,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's exactly it. We tried changing the umask in both:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;WorkspaceServer_usermods.sh&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;ObjectSpawner_usermods.sh&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;...and the umask remains unaffected in new sessions. I'm thinking ObjectSpawner.sh should be tried next, althoough I'm not exactly sure where to include the umask instruction.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For the USERMODS_OPTIONS= line, should we just remove it then?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 17:14:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762603#M22840</guid>
      <dc:creator>Dodecaphonic</dc:creator>
      <dc:date>2021-08-19T17:14:39Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762647#M22841</link>
      <description>If this is from Enterprise Guide / SAS Studio sessions, I would expect adding the umask command to WorkspaceServer_usermods.sh would be sufficient. How are you determining this is not working?&lt;BR /&gt;&lt;BR /&gt;You could try running WorkspaceServer.sh -nodms to start a terminal session and then something to create a file, as this could be getting modified by file system options on the folder where files are being created.&lt;BR /&gt;&lt;BR /&gt;Having USERMODS_OPTIONS= in WorkspaceServer_usermods.sh should have no bearing on this, so you can leave it as is.</description>
      <pubDate>Thu, 19 Aug 2021 18:56:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762647#M22841</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-08-19T18:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762650#M22842</link>
      <description>&lt;PRE&gt;[sas@trcv003 WorkspaceServer]$ umask
0002
[sas@trcv003 WorkspaceServer]$ ./WorkspaceServer.sh -nodms -nonews
NOTE: Copyright (c) 2016 by SAS Institute Inc., Cary, NC, USA. 
...
NOTE: AUTOEXEC processing completed.

  1? x "touch /tmp/testfile";
  2? endsas;
...   
[sas@trcv003 WorkspaceServer]$ ls -l /tmp/testfile
-rw-rw-r-- 1 sas sas 0 Aug 19 14:56 /tmp/testfile
[sas@trcv003 WorkspaceServer]$ echo "umask 007" &amp;gt;&amp;gt; WorkspaceServer_usermods.sh 
[sas@trcv003 WorkspaceServer]$ ./WorkspaceServer.sh -nodms -nonews
NOTE: Copyright (c) 2016 by SAS Institute Inc., Cary, NC, USA. 
...
  1? x "touch /tmp/testfile2";
  2? endsas;
...
[sas@trcv003 WorkspaceServer]$ ls -l /tmp/testfile2
-rw-rw---- 1 sas sas 0 Aug 19 14:57 /tmp/testfile2
[sas@trcv003 WorkspaceServer]$ &lt;/PRE&gt;</description>
      <pubDate>Thu, 19 Aug 2021 18:59:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762650#M22842</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-08-19T18:59:48Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762658#M22843</link>
      <description>Hi Greg,&lt;BR /&gt;&lt;BR /&gt;Yes "touch" is what I used to test it... Great idea to try running WorkspaceServer from terminal. About that though, do you know if there is a command line option that would prevent automatic library assignments? I launched it once and had many "bad username/password"; not sure why this is, but I sure don't want to be locked out from data sources by doing repeated tests!&lt;BR /&gt;&lt;BR /&gt;Thanks again</description>
      <pubDate>Thu, 19 Aug 2021 19:26:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762658#M22843</guid>
      <dc:creator>Dodecaphonic</dc:creator>
      <dc:date>2021-08-19T19:26:15Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762663#M22844</link>
      <description>You could add a dummy context for the metaautoresources option to prevent pre-assigned libraries from assigning. i.e. "-metaautoresources foo"&lt;BR /&gt;&lt;BR /&gt;If you are using the touch command to test, you may want to run a getfacl on the path you are trying to store the file to ensure ACLs are not modifying the mask.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://linux.die.net/man/1/setfacl" target="_blank"&gt;https://linux.die.net/man/1/setfacl&lt;/A&gt;</description>
      <pubDate>Thu, 19 Aug 2021 19:32:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762663#M22844</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-08-19T19:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762679#M22845</link>
      <description>&lt;P&gt;Ok, I confirm that no matter the value I put in WorkspaceServer_usermods.sh, it is not taken into account. The files created with 'touch' systematically have -rw-rw-r-- permissions. This would corresponding to umask=002 if I'm not mistaken, but this 002 is neither the default umask on the Unix system, nor the default in WorkspaceServer_usermods.sh.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to recap, here's what I did:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;#!/bin/sh -p
#
# WorkspaceServer_usermods.sh
#
# This script extends WorkspaceServer.sh.  Add local environment variables
# to this file so they will be preserved.
#

USERMODS_OPTIONS=

if [ "$LOGNAME" = myuser ]
then
        echo "Setting umask 007"  # to make sure the code is included -- it is
        umask 007
else
        umask 022
fi
&lt;/PRE&gt;
&lt;P&gt;I also tried without conditions, giving umask 007 for everyone for a brief moment, but it still didn't change a thing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;So something else is interfering somehow... setfacl is not a command that is available on this installation (Aix 6.1). Not sure if that rules out the ACL avenue though...&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 20:08:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762679#M22845</guid>
      <dc:creator>Dodecaphonic</dc:creator>
      <dc:date>2021-08-19T20:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762696#M22846</link>
      <description>&lt;P&gt;If you do these commands outside of the Workspace Server does it behave as expected (i.e. umask 007; touch somefile)?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The AIX ACL commands are acledit and aclget it looks like.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ibm.com/docs/en/aix/7.1?topic=acledit-command" target="_blank"&gt;https://www.ibm.com/docs/en/aix/7.1?topic=acledit-command&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ibm.com/docs/en/aix/7.1?topic=aclget-command" target="_blank"&gt;https://www.ibm.com/docs/en/aix/7.1?topic=aclget-command&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 21:06:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762696#M22846</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-08-19T21:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762705#M22847</link>
      <description>&lt;P&gt;Yes the umask / touch commands behave as expected in a SSH session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I type aclget . in my home directory, I get:&lt;/P&gt;
&lt;PRE&gt;*
* ACL_type AIXC
*
attributes:
base permissions
owner(myuser): rwx
group(staff): --x
others: ---
extended permissions
disabled&lt;/PRE&gt;
&lt;P&gt;Not sure what to look for next... thanks for your guidance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;EDIT:&amp;nbsp;&lt;/STRONG&gt;The active umask in the SAS session appears to be 003, not 002, since a directory created with x mkdir has permissions&amp;nbsp;drwxrwxr--.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2021 21:49:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762705#M22847</guid>
      <dc:creator>Dodecaphonic</dc:creator>
      <dc:date>2021-08-19T21:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762820#M22853</link>
      <description>If its behaving as expected in an SSH session it's probably not an ACL issue. Do you have another umask command being called after the WorkspaceServer_usermods.sh is sourced (maybe in autoexec)? You could add the ECHOAUTO option when running WorkspaceServer.sh to see what is being run by autoexec.</description>
      <pubDate>Fri, 20 Aug 2021 12:13:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762820#M22853</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-08-20T12:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762879#M22857</link>
      <description>&lt;P&gt;Nothing particular showed up when I added the ECHOAUTO parameter. With find,&amp;nbsp;I searched in .sh, .sas, and .cfg files for the string "umask", in everything under /sas. I used for instance (for .sh files):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;find /sas -name '*.sh' -exec grep umask {} +&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found nothing in the usual setup files. I did however find some results in other shell scripts. Here for instance, the default umask is replaced by user&amp;nbsp;/ group / other umask definition:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="shell"&gt;./SASHome/InstallMisc/cleanup.sh:#  set_umask
./SASHome/InstallMisc/cleanup.sh:#    Set the umask according to the rules defined in the data.
./SASHome/InstallMisc/cleanup.sh:set_umask () {
./SASHome/InstallMisc/cleanup.sh:   mask=`umask`
./SASHome/InstallMisc/cleanup.sh:   if [ "$umask_user" ] ; then
./SASHome/InstallMisc/cleanup.sh:      mask=`set -f ; echo $mask | sed "s/[0-7]\([0-7][0-7]\)$/$umask_user\1/"`
./SASHome/InstallMisc/cleanup.sh:   if [ "$umask_group" ] ; then
./SASHome/InstallMisc/cleanup.sh:      mask=`set -f ; echo $mask | sed "s/[0-7]\([0-7]\)$/$umask_group\1/"`
./SASHome/InstallMisc/cleanup.sh:   if [ "$umask_other" ] ; then
./SASHome/InstallMisc/cleanup.sh:      mask=`set -f ; echo $mask | sed "s/[0-7]$/$umask_other/"`
./SASHome/InstallMisc/cleanup.sh:   umask $mask
./SASHome/InstallMisc/cleanup.sh:# Set the umask
./SASHome/InstallMisc/cleanup.sh:set_umask&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure where these alternate umasks would be defined. (We have some custom settings in /sas/SASHome/SASFoundation/9.3/misc/rstropts, but nothing pertaining to umask).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are qui a few files showing something along those lines. I have no idea whether these files are relevant at all. Most are in software/lsf and software/pm. I could send you all results by other means if you think it's relevant?&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 16:22:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762879#M22857</guid>
      <dc:creator>Dodecaphonic</dc:creator>
      <dc:date>2021-08-20T16:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762884#M22859</link>
      <description>&lt;P&gt;Can you run the "umask" command within SAS and confirm it is set incorrectly?&lt;/P&gt;
&lt;PRE&gt;$ ./WorkspaceServer.sh -nonews -nodms -metaautoresources foo
NOTE: Copyright (c) 2016 by SAS Institute Inc., Cary, NC, USA. 
...
NOTE: AUTOEXEC processing completed.

  1? filename umask pipe "umask";
  2? data _null_;
  3? infile umask;
  4? input;
  5? put _infile_;
  6? run;

NOTE: The infile UMASK is:
      Pipe command="umask"

0002
NOTE: 1 record was read from the infile UMASK.
...
  7? endsas;&lt;/PRE&gt;
&lt;P&gt;Any umask change from where it is being set in WorkspaceServer_usermods.sh would have to happen after that is sourced, so I wouldn't expect anything in SASHome, LSF or PM to play a role.&lt;/P&gt;
&lt;P&gt;You may wish to engage SAS Technical Support.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 16:23:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762884#M22859</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-08-20T16:23:43Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762887#M22861</link>
      <description>&lt;P&gt;It is indeed 003 as I suspected:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;NOTE: AUTOEXEC processing beginning; file is
      /sas/Config/Lev1/SASCompute1/WorkspaceServer/autoexec.sas.


NOTE: AUTOEXEC processing completed.

  1? filename umask pipe "umask";
  2? data _null_;
  3? infile umask;
  4? input;
  5? put _infile_;
  6? run;

NOTE: The infile UMASK is:
      Pipe command="umask"

0003
NOTE: 1 record was read from the infile UMASK.
      The minimum record length was 4.
      The maximum record length was 4.
NOTE: DATA statement used (Total process time):
      real time           14.86 seconds
      cpu time            0.00 seconds
&lt;/PRE&gt;
&lt;P&gt;I will open a ticket. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 16:31:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762887#M22861</guid>
      <dc:creator>Dodecaphonic</dc:creator>
      <dc:date>2021-08-20T16:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762893#M22863</link>
      <description>You could similarly try running the umask 007 command there and confirm it makes the expected change and that touch works as expected.</description>
      <pubDate>Fri, 20 Aug 2021 17:02:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762893#M22863</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-08-20T17:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Applying umask 007 to all (with possible exceptions)</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762905#M22869</link>
      <description>&lt;P&gt;Hi Gregg,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is interesting. First I submit this:&lt;/P&gt;
&lt;PRE&gt;  1? filename umask pipe "umask 007; umask";
  2? data _null_;
  3? infile umask;
  4? input;
  5? put _infile_;
  6? run;

NOTE: The infile UMASK is:
      Pipe command="umask 007; umask"

0007&lt;/PRE&gt;
&lt;P&gt;Right after, in the same session:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;x 'touch ~/test-umask-1';&lt;/PRE&gt;
&lt;P&gt;The file has permissions that reflect the initial umask (003):&lt;/P&gt;
&lt;PRE&gt;-rw-rw-r--   test-umask-1&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, I do this:&lt;/P&gt;
&lt;PRE&gt;  1? filename umask pipe "umask 007; touch ~/test-umask-2";
  2? data _null_;
  3? infile umask;
  4? input;
  5? put _infile_;
  6? run;
&lt;/PRE&gt;
&lt;P&gt;...and the umask value is now honnored:&lt;/P&gt;
&lt;PRE&gt;-rw-rw----   test-umask-2
&lt;/PRE&gt;
&lt;P&gt;Not sure what this tells us though.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Aug 2021 17:53:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Applying-umask-007-to-all-with-possible-exceptions/m-p/762905#M22869</guid>
      <dc:creator>Dodecaphonic</dc:creator>
      <dc:date>2021-08-20T17:53:02Z</dc:date>
    </item>
  </channel>
</rss>

