BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
yclb
Calcite | Level 5

Hi,

 

I am trying to access some files on my physical home folder, in Unix, from SAS Studio

the file is under /home/myuser/test.txt

I am using proc import / data step for the import, and I am having the insufficient authorization error.

 

I assume this is to do with the fact, that the code is running under sassrv, and that sassrv (via sasusers group) should have access to that file ?

what if I have files , that I don't want to share with other users, and only the owner will be able to read them in Unix and be able to import them in SAS Studio , would this file be either in /home/ or other folder with restricted permissions ?

 

Thanks,

1 ACCEPTED SOLUTION

Accepted Solutions
alexal
SAS Employee

@yclb,

and that sassrv (via sasusers group) should have access to that file ?

Yes

what if I have files , that I don't want to share with other users, and only the owner will be able to read them in Unix

This is not possible by using a shared user. You need to stop using SAS Token Authentication and switch to Host-based authentication. In this case, you will be able to store and access files from your home directory.

View solution in original post

3 REPLIES 3
alexal
SAS Employee

@yclb,

and that sassrv (via sasusers group) should have access to that file ?

Yes

what if I have files , that I don't want to share with other users, and only the owner will be able to read them in Unix

This is not possible by using a shared user. You need to stop using SAS Token Authentication and switch to Host-based authentication. In this case, you will be able to store and access files from your home directory.

yclb
Calcite | Level 5
thanks for the reply,
do you know, off the top of your head, if switching to host based authentication, will be fine with other interfaces specially Visual Analytics ?
alexal
SAS Employee

@yclb,

 

I do not see any problems with host-based authentication and VA. Just make sure your users can start the workspace server.

Develop Code with SAS Studio

Get started using SAS Studio to write, run and debug your SAS programs.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 2302 views
  • 0 likes
  • 2 in conversation