I have a SAS 9 user with a Macbook Pro. He's a Stored Process app developer, and I'd like for him to be able to create his content in his home directory in metatdata.
According to the docs - "The first time a user logs on to an application that requires a home folder, the user's home folder is automatically created."
Is there a list of apps anywhere that will do the 'home directory' stuff?
Neither logging onto /SASStudio nor /SASStoredProcess/do does the trick. What is the best course of action? Get him to download xquartz and x11 into SMC? Create the folder programmatically, and update the permissions?
If you want to create it programmatically then have a look at the SAS IOMI AddUserFolders method: https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/omaref/n0xyl0tv8cxjjcn1iehd44cavbfz.htm
I have not had a need to use it myself yet but remembered seeing it in the documentation. It is supposedly locale aware and creates and secures the My Folder and Application Data correctly. This is what I would try first.
Off the top of my head I remember that SAS EG and SAS DI Studio created the user folders when needed but I do not know if there is a list as such.
For reference, this is what we did in the end:
1. Install xquartz: https://www.xquartz.org/releases/index.html
2. Open xquartz terminal and run:
ssh -Y user@server
3. execute the following file:
Then follow the prompts to log in, and the folder is created.
I have to say, x11 on mac is much faster than it used to be!
The SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment.
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.