BookmarkSubscribeRSS Feed
EyalGonen
Lapis Lazuli | Level 10

Hi,

 

I am loading data to CAS (on Viya 3.5) and then saving it as ".sas7hdat" file. The saved ".sas7hdat" has r-x permission for Other and I want to change the umask of CAS so that when I save it will have --- for Other (meaning no access at all for Other)

 

Is this possible?

2 REPLIES 2
jklaverstijn
Rhodochrosite | Level 12

Hi,

 

Most environment settings are done in the casconfig_usermods.lua file. I would expect that for umask as well. For Linux that file is in /opt/sas/viya/config/etc/cas/default.

 

Hope this helps,

- Jan.

gwootton
SAS Super FREQ
Try adding "umask 027" (or whatever you want the umask to be) in /opt/sas/viya/config/etc/cas/default/cas_usermods.settings on all the CAS hosts.
--
Greg Wootton | Principal Systems Technical Support Engineer

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

CLI in SAS Viya

Learn how to install the SAS Viya CLI and a few commands you may find useful in this video by SAS’ Darrell Barton.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 449 views
  • 3 likes
  • 3 in conversation