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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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