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

Hi, I am a SAS admin, and one of our end user requests is to create a progam folder for each user.

For backup and recovery purposes, they do not want to use the home folder to store their programs.

I cannot figure out how to create a link in EG to that server program folder. Any suggestions?

Note: this folder would only contain SAS code. We are using Enterprise Guide 7.1 on Windows 7 and connecting to a Linux Server running SAS 9.4M3.

1 ACCEPTED SOLUTION

Accepted Solutions
10 REPLIES 10
TomKari
Onyx | Level 15

I haven't done this myself, but I don't see any problems.

 

When you say "SAS programs", I assume this means that you want to store your SAS code nodes externally to the EG project.

 

To do this, select "File | Save Program As...". In the tabs on the left, you can select "Servers", and from there navigate to any folder location you want. Make sure to have your Linux admin apply restrictions so that only the user can access the folder assigned to them.

 

Tom

CaseySmith
SAS Employee

Hi, you can control the root folder that users see in their server->Files location with the following setting in SMC:
(in SMC's Server manager plug-in, expand "SASApp" (or whatever your server is named), then "SASApp - Logical Workapce Server", right-click "SASApp - Workspace Server", select Properties, click Options tab, click "Advanced Options..." button, click "File Navigation" tab.)

 

fileNavigation.png

 

If you want the servers->Files location to point to different folders per user, but don't want to use their home directory ("SAS User Root"), you can specify a path with an environment variable substitution.  For example, select "Path" and specify "c:\%username%".

 

Casey


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

newtolinux
Obsidian | Level 7
Casey - thanks for your reply. As luck would have it - only one department needs their folders set up this way. Is it possible to use Management Console as you suggested for just one "user group".
And yes, they have their own group defined in metadata.
CaseySmith
SAS Employee

The File Navigation setting applies to all users of that server defintion.  So, if you want different users to have different File Navigation settings, I would accomplish by defining another server in metadata for that group with the desired File Navigation setting (otherwise identical).  (Most likely you'd want to make only the respective servers visible to the respective groups (clear or set ReadMetadata on each server for the appropriate groups).)


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

Kurt_Bremser
Super User

As an alternate method, and since your server runs on UNIX:

You can create symbolic links in user's home directories that point to locations elsewhere. This avoids having to create a separate server. 

newtolinux
Obsidian | Level 7

Thanks. I had thought of this independently and it works like a charm.

I wish this was documented somewhere!

Kurt_Bremser
Super User

TBH, working with symbolic links is such a natural thing for UNIX admins that one rarely thinks to make a specific mention of it.

And since symbolic links were a UNIX specific for a long time, this is probably the reason they are not part of the overall SAS documentation 

newtolinux
Obsidian | Level 7

Kurt  -thanks fo rthe info. My end users are reporting that the links are indeed visible under "Servers". I was hoping that they would appear under "SAS Folders" as well. Note:one of the folders is for SAS programs, so there is no metadata to register.

newtolinux
Obsidian | Level 7
OK, understood. So you are saying that only metadata objects are visible on "SAS Folders".

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 10 replies
  • 5345 views
  • 0 likes
  • 4 in conversation