In SAS® Viya®, you might not be able to create projects or otherwise use Model Studio (SAS® Visual Data Mining and Machine Learning, SAS® Visual Forecasting, and SAS® Visual Text Analytics). Errors such as these might occur:
INFO: The partition table was not loaded into CAS for the project
20d4d036-41ad-4510-a466-d1a7355826a7
ERROR: You do not have permission to remove the file DM_1XZ0X3AB2FAKCHERJ6O2COBZB.sashdat.
ERROR: The action stopped due to errors.
Project creation failed with: creatingProviderError
Could not close cas client.
You do not have permission to access ^_ATTRIBUTES%. (2-1-2710191)
Error Code: 409
These behaviors occur when a user ID is a member of the CASHostAccountRequired group. The CASHostAccountRequired group is a SAS Viya reserved group name, but the name is not created during deployment. By default, CAS Sessions run as the shared CAS account. However, if a custom group with the ID CASHostAccountRequired is created, then the CAS sessions for members of the CASHostAccountRequired group are automatically run under their own host account.
If you encounter this problem in SAS Viya 3.4, then access the hot fix in SAS Note 62877: "Using Model Studio gives permission errors when a user ID is a member of the CASHostAccountRequired group".
If you encounter this problem prior to SAS Viya 3.4, then you need to perform these additional configuration steps with the file-system-directory permissions. These steps are necessary because of restrictive permissions that are intentionally set on the project directories. Follow these steps to grant users within the CASHostAccountRequired group Read and Write permissions to caslib file system directory paths. Model Studio project caslibs are created within the CAS projects space.
1. Create a host system group that contains the cas user account and all of the user accounts that are in the CASHostAccountRequired group.
2. Set the group ownership on the projects directory to this new host-system group, replacing the default sas group.
3. Grant Read and Write group permissions to the new host-system group for the projects directory.
By default, the file system directory for these project caslibs are located within the /opt/sas/viya/config/data/cas/default/projects directory.
4. Set the setgid bit on the projects directory so that folders that are created under this folder inherit group ownership from the projects directory.
5. Reattempt the functionality. If your problem persists, then engage SAS Technical Support.
Note: User IDs that have restrictive default-file-permissions (umask) might create files within a project caslib that cannot be read or overwritten by other user IDs. If this restriction occurs, then, you might need to use ACL settings to ensure that files in the project directories are created with the appropriate permissions. Instead of using ACL settings, you can manually set permissions to allow project sharing with other user IDs.
Operating System and Release Information
| SAS System | SAS Viya | Linux for x64 | 3.2 | | | |
*
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.