BookmarkSubscribeRSS Feed
eddieleung305
Obsidian | Level 7

I would like to setup Allow List as manual https://documentation.sas.com/api/collections/sasadmincdc/v_014/docsets/evfun/content/evfun.pdf?loca... but I noticed that the Path List tab not existing. 

 

From the CAS server configuration tab, I only got Superuser Role Membership tab, Caslib Management Privileges tab and Logging tab.

 

What I problem I want to resolve is :

Cannot add caslib New Connection. It uses a path that is not in the allowlist. Failed to resolve path /export/data/ for caslib New Connection. Cannot add caslib New Connection. It uses a path that is not in the allowlist. The action stopped due to errors.

 

Anyone has this experience before and can help?

7 REPLIES 7
gwootton
SAS Super FREQ
Did you assume the superuser role before entering the settings menu?

Manage Path Lists (Allowlists and Denylists)
https://go.documentation.sas.com/doc/en/sasadmincdc/v_038/evfun/n0mq74h3dneq5on1l5gn4e5mwwc8.htm#p1o...
--
Greg Wootton | Principal Systems Technical Support Engineer
ScottMcCauley
SAS Employee

The Settings window displays the Paths list tab only after you assume the superuser role.  Do that first and you should be able to edit the allow list.

eddieleung305
Obsidian | Level 7

I am using sasroot to perform the action. I right click on the CAS server cas-shared-default but only 'Configuration' and 'Setting' show in the pop-up menu.

If I click on Setting, then the screen only shows up 'Superuser Role Membership', 'Caslib Management Privileges' and 'Logging'

 

May I know is it the correct page to assume SuperUser Role? Is it anything wrong I performing the action by sasboot?

 

gwootton
SAS Super FREQ
The sasboot user cannot assume the CAS Superuser role, you would need to use a normal administrative account.
--
Greg Wootton | Principal Systems Technical Support Engineer
ScottMcCauley
SAS Employee

As Greg indicated, when signed in as a user registered in the SASAdministrators group, you should be able to right click on your CAS server on the Servers page and there you should see the option to Assume the Superuser role.

 

ScottMcCauley_0-1680549447738.png

 

We do not usually recommend using the sasboot account for administrative tasks after initial configuration steps or except for special cases when a regular administrator user's permissions are insufficient.

 

eddieleung305
Obsidian | Level 7

Thank you for the advice, I can set up the allowed list from the Environment Manager.

 

May I ask one follow up question in validating the setting by Data Preparation and try to load data file from the path of the newly defined allowlist.

 

The error is below and I am sure the path exists and is assessable by compute node and cas node.

 

The file or path '/export/homes' is not available in the file system. The action stopped due to errors. property: TKCASTAB_FILE_NOT_FOUND uri: /casManagement/servers/cas-shared-default/caslibs/New Connection/tables path: /SASDataExplorer/ui/datasources/validation traceId: 83f25cd7d44d66e6

gwootton
SAS Super FREQ
If this is on Kubernetes, the path will need to be mounted into the CAS server pods rather than the node where those pods run, for example using the customization in:
$deploy/sas-bases/examples/cas/configure/cas-add-nfs-mount.yaml
--
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 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 7 replies
  • 1422 views
  • 4 likes
  • 3 in conversation