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.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 1874 views
  • 0 likes
  • 2 in conversation