Problem Note 62740: SAS® Studio logon fails with "Search permission is denied for a directory or file is not an executable file" in SAS® Viya®
When a user who does not have proper permissions logs on to SAS Studio in SAS Viya, an error similar to the following error is displayed:
The launch of server mySASObjectServer for user xxxxx failed. Search permission is denied for a directory or file is not an executable file.
In the spawner log located in /opt/sas/viya/config/var/log/spawner/default, you see messages similar to the following:
New client connection (111111) accepted from server port 8591 for user xxxxx. Encryption level is Everything using encryption algorithm AES. Peer IP address and port are [::ffff:127.0.0.1]:47180 for APPNAME=ConnectionService 904500.
ERROR: Launch Failed. Cannot execute program "/opt/sas/viya/config/etc/workspaceserver/default/workspaceserver.sh", error = 13 (Permission denied).
ERROR: Search permission is denied for a directory or file is not an executable file
ERROR: The launch of server mySASObjectServer for user xxxxx failed.
In Environment Manager ► Logs, you see an error similar to the following:
ERROR: Launch Failed. Cannot execute program "/opt/sas/viya/config/etc/workspaceserver/default/workspaceserver.sh", error = 13 (Permission denied).
To circumvent this issue, make sure that the user has Read and Execute permissions to the following scripts:
- /opt/sas/viya/config/etc/workspaceserver/default/workspaceserver.sh
- /opt/sas/viya/config/etc/workspaceserver/default/workspaceserver_usermods.sh
Operating System and Release Information
| SAS System | SAS Studio | Microsoft® Windows® for x64 | Viya | |
| Microsoft Windows 8 Enterprise 32-bit | Viya | |
| Microsoft Windows 8 Enterprise x64 | Viya | |
| Microsoft Windows 8 Pro 32-bit | Viya | |
| Microsoft Windows 8 Pro x64 | Viya | |
| Microsoft Windows 8.1 Enterprise 32-bit | Viya | |
| Microsoft Windows 8.1 Enterprise x64 | Viya | |
| Microsoft Windows 8.1 Pro 32-bit | Viya | |
| Microsoft Windows 8.1 Pro x64 | Viya | |
| Microsoft Windows 10 | Viya | |
| Microsoft Windows 95/98 | Viya | |
| Microsoft Windows 2000 Advanced Server | Viya | |
| Microsoft Windows 2000 Datacenter Server | Viya | |
| Microsoft Windows 2000 Server | Viya | |
| Microsoft Windows 2000 Professional | Viya | |
| Microsoft Windows NT Workstation | Viya | |
| Microsoft Windows Server 2003 Datacenter Edition | Viya | |
| Microsoft Windows Server 2003 Enterprise Edition | Viya | |
| Microsoft Windows Server 2003 Standard Edition | Viya | |
| Microsoft Windows Server 2003 for x64 | Viya | |
| Microsoft Windows Server 2008 | Viya | |
| Microsoft Windows Server 2008 R2 | Viya | |
| Microsoft Windows Server 2008 for x64 | Viya | |
| Microsoft Windows Server 2012 Datacenter | Viya | |
| Microsoft Windows Server 2012 R2 Datacenter | Viya | |
| Microsoft Windows Server 2012 R2 Std | Viya | |
| Microsoft Windows Server 2012 Std | Viya | |
| Microsoft Windows Server 2016 | Viya | |
| Microsoft Windows XP Professional | Viya | |
| Windows 7 Enterprise 32 bit | Viya | |
| Windows 7 Enterprise x64 | Viya | |
| Windows 7 Home Premium 32 bit | Viya | |
| Windows 7 Home Premium x64 | Viya | |
| Windows 7 Professional 32 bit | Viya | |
| Windows 7 Professional x64 | Viya | |
| Windows 7 Ultimate 32 bit | Viya | |
| Windows 7 Ultimate x64 | Viya | |
| Windows Millennium Edition (Me) | Viya | |
| Windows Vista | Viya | |
| Windows Vista for x64 | Viya | |
| Linux for x64 | Viya | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
In SAS Viya 3.3, SAS Studio logon fails with the message "The launch of server mySASObjectServer for user xxxxx failed. Search permission is denied for a directory or file is not an executable file." This issue occurs when the user does not have proper permissions.
| Type: | Problem Note |
| Priority: | medium |
| Date Modified: | 2018-08-17 15:34:53 |
| Date Created: | 2018-08-10 11:18:40 |