BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Satora_In
Quartz | Level 8

How to find this library SASUSER

Tom
Super User Tom
Super User

@Satora_In wrote:

How to find this library SASUSER


Log in as a user that works and check where the libref SASUSER is pointing.  Run something like:

%put %sysfunc(pathname(sasuser));

You should see something like:

/home/username/sasuser.v94

So check location that would become if you change the usernames.  Make sure that such a directory exists and that it is writable by the intended user.

 

Usually when we have this problem is caused by:

1) The system admins not creating the userid properly so that they don't have a home directory

2) The mounting of the home directory not working.  THey can usually just restart the automount process and it will start working.

3) The user deleted the directory or changed the permissions.

 

 

Satora_In
Quartz | Level 8

How to solve this problem, but I can’t check the path from a user that doesn’t work for me

Satora_In
Quartz | Level 8

Apparently the path is not specified correctly. How can I indicate the path to the user?

Satora_In
Quartz | Level 8

I deleted and added a user several times, perhaps because of this the home directory disappeared

Kurt_Bremser
Super User

Internally, te operating system identifies the user with a number, not the name. Unless you explicitly specify that number when you create the user, the system will assign it randomly.

So you get an existing directory with the permissions assigned to the old number, and the newly created user can't write to it.

Make up a rule for mapping usernames to numbers to avoid this.

Satora_In
Quartz | Level 8

Я решил проблему с помощью команды chmod
и правильно настроил каталог home где у меня был юзер chmod user direction -r

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 21 replies
  • 6900 views
  • 2 likes
  • 5 in conversation