BookmarkSubscribeRSS Feed
JGon
Calcite | Level 5

Hi,

 

I'm currently assessing SAS Viya (pay-as-you-go version) but I'm strugling with one use case.

We have multiple projects, which may be done by different teams, and for which have completely different raw data.

We need to grant access to each project just for the team members that are allocated to it.

Is there any way to have a folder that only a group of users can access?

I've tried to search online but I couldn't find what I'm looking for.

I've tried to use the Jump VM to create the folder, in a similar way to what is done when creating the users' home folders, but no luck.

 

Thanks in advance.

Regards,

Jorge

 

Thanks in advance.   

3 REPLIES 3
cj_blake
SAS Employee

Hi @JGon - do you mean a SAS Content folder, or a folder on the filesystem of the NFS server?

JGon
Calcite | Level 5

Hi @cj_blake ,

 

I've tried both.

For the folder inside "SAS Content" I was able to set the permissions, but then I wasn't able to reference that folder inside a "LIBNAME" statement in SAS Studio, and for what I could find online this is not possible.

Regarding the NFS, I've tried to creating the folder through the Jump VM and it show-up in SAS studio and I'm able to use it in a "LIBNAME" statement, but I can't set permissions (e.g.: setting the group ownership through chown/chmod using the guid of a previously created group).

 

Maybe I'm missing something here and this is simple, so if you can point me on the correct direction it would be really helpful.

 

Thanks in advance.

Regards,

Jorge  

jan_ehlers
SAS Employee

Hi @JGon 

 

If you want to read or write files from SAS Content Folders I suggest you use the FILENAME FILESRVC statement:

Accessing SAS Content with FILENAME FILESRVC in SAS Viya - SAS Support Communities

Content Folders are best for smaller data files.

 

If you have larger data files I suggest you create a DNFS caslib pointed to an NFS path and restrict permissions on the caslib to specific groups or users. 
From SAS Studio you can use a libname statement to process data in caslibs. 

For details on creating a caslib see this: 

SAS Help Center: Working with Data in CAS