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
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.
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.
GREAT!
this works great - thanks again
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
@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.
Kurt,
I agree, it would be a nice improvement.
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
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.
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!
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.