BookmarkSubscribeRSS Feed
Calcite | Level 5


Is there a way to have SAS output files automatically obtain the default permissions, and default ACLs of the destination folder?

I am not a SAS administrator, but I am the Linux administrator for the SAS servers.

Currently when SAS 9.3 jobs are submitted, and the output from the jobs lands in our Linux directory structure, only some of the files obtain the default folder permissions and default ACLs of the destination. 

The attachment shows an example of 3 files generated by the same SAS job, but only 2 obtained the default ACLs of the output folder.

This causes users to not have proper access to all of the files they just created via SAS.

Thanks for your help.




How are users running their SAS jobs? From EG or some other way? Are they using there own user account to connect to the SAS server? If so then SAS starts a workspace server session using that account and uses any of the permissions for that account set up at the OS level. In other words this is a linux user permissions issue rather than a SAS configuration issue.


I don't use linux so I'll leave it up to the linux experts to help you further. 

Opal | Level 21


The user under which the SAS process executes is the one writing the files. Depending on how SAS is configured and how users connect to SAS that can either be the actual user or a system account.

Besides of having the users in the right groups it might also be worth getting this sorted together with the SAS Admin as he/she should be able to do his/her bit in getting such permission issues sorted by "enforcing" a UMASK for SAS sessions.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
How to connect to databases in SAS Viya

Need to connect to databases in SAS Viya? SAS’ David Ghan shows you two methods – via SAS/ACCESS LIBNAME and SAS Data Connector SASLIBS – in this video.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 3 in conversation