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

Good afternoon folks.

We have migrated all our EG projects on to sas 9.4 Grid, on REHL (santiago) - provious setup was SAS EG 5.1 Windows.

All our projects were migrated successfully, however the users are feeling a little lost due to the fact that we no longer have the windows navigation capabilities. IT have setup SAMBA shares for us, which work but are speed and network issues at the moment.

 

As a work around if needs be our users can use the "Files" navigation tree under the Library icon from the Server Tree.

 

Users have to navigate the entire linux tree from root to get to their files, and i was wondering if there is a way to change where this opens as default? in SMC9.4 maybe?

 

see attachement

 

 


FilesNavigationEG.gif.gif
1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

Yes, this can be done in the SMC.

Open Server Manager, then your Application Server (SASApp), then SASApp - Logical Workspace Server.

Within that, right-click SASApp - Workspace Server, and select Properties

Select the Options tab, and there Advanced Options.

You get a multi-layered. multi-tabbed subwindow; select File Navigation, and there you have an option to set your starting path explicitly.

View solution in original post

7 REPLIES 7
Kurt_Bremser
Super User

Yes, this can be done in the SMC.

Open Server Manager, then your Application Server (SASApp), then SASApp - Logical Workspace Server.

Within that, right-click SASApp - Workspace Server, and select Properties

Select the Options tab, and there Advanced Options.

You get a multi-layered. multi-tabbed subwindow; select File Navigation, and there you have an option to set your starting path explicitly.

sasadmin_tlove
Obsidian | Level 7

GREAT!

 

this works great - thanks again

RexDeus9
Quartz | Level 8

Hi Kurt,

 

It only answers part of the intent. The users will have access to ALL the folder structure.

 

What if would like to give access to specfic folders only per user?

 

 

 

 

 

Yvan

Kurt_Bremser
Super User

@RexDeus9 wrote:

Hi Kurt,

 

It only answers part of the intent. The users will have access to ALL the folder structure.

 

What if would like to give access to specfic folders only per user?

 

 

 

 

 

Yvan


That's not possible. I tried several methods (using user-specific environment variables like $HOME or $USER in the path) that did not work.

This might be a useful extension for a future SAS version, but I fear it would require a change in workspace server metadata that would break backward compatibility with current clients.

Or an option to override the navigation path from WorkspaceServer_usermods.sh or sasv9_usermods.cfg in the WorkspaceServer directory.

RexDeus9
Quartz | Level 8

Kurt,

 

I agree, it would be a nice improvement.

MarkAllemang
SAS Employee

There are a couple of approaches that I think will accomplish what you need.

 

The first is to change the value in the Server Navigation settings, as someone described above, except set the value to be User Root. That will cause every user's navigation to start at their Unix home folder.

 

Another option is to specify Path as the option, and for the path, enter ~ or a path expression including ~, for example:  ~/SAS Files if every user has a SAS Files directory that they should use for SAS items. You should also be able to substitute Unix environment variables that are defined on the server, such as $HOME.

 

Another option is to specify some special keywords in the path specification instead of ~.  These are of limited value when running against Unix. Values EG will substitute are:

<personal> - the user's personal folder on the client's windows operating system.

<userid> - the current window's user name on the client

<username> - the display name for the current window's user on the client

 

One limitation of all of these options is that they all are setting the Root location for each user. That means the user cannot access any folders that are not decendents of the specified folder.  So if a drive is mounted with sas files at \sas, the users cannot get to it if their root is set to something that is not a parent of \sas. The only workaround I can think of for that case is to define symbolic links in each user's home directory that point to the shared resource. Then the workspace session should be able to access it via the link as long as the user has permissions to access the resource.

 

Hope one of these helps your situation.

 

Mark Allemang

SAS Institute Inc

 

aostrowski
Calcite | Level 5

Not sure if this would work on Unix, works on Windows server. On File Navigation tab, select Path radio button and type

E:\SASData\!USERNAME in the text box. E:\SASData is your root data location, !USERNAME is the variable, that gets translated into user name folder.

Unix might have different delimiter for the variable and different variable name.

 

Hope this helps.

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
  • 7 replies
  • 5575 views
  • 5 likes
  • 5 in conversation