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

Hi All,

lsf_adm    user is a scheduling user, when this user creates a below tables, lsf_adm    group is in domain users list but not in SAS group. when I checked the lsf_adm  group by using "getent group sas" command ,lsf_adm   is in the SAS group but when it is creating a file why it is in domain users group but not in SAS group. is there any method to create it in SAS group or is it a user setup issue in SMS or  in AD. |Please advice.

 

-rw-rw-r--. 1        abc              sas                    27328512          Mar 26 2018         results_2.sas7bdat
-rw-rw-r--. 1        srv               sas                    36175872          Mar 26 2018         results_3.sas7bdat
-rw-rw-r--. 1        lsf_adm       domain users    196608              May 20 10:28       test.sas7bdat
-rw-rw-r--. 1        lsf_adm       domain users    196608              May 20 10:12       test2.sas7bdat

 

thanks in advance

SS

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

SAS will use the primary group of a user when creating files. If group "sas" is not returned as the primary group when the LDAP source delivers user metadata, but instead gives you "domain users" as the primary group, then this will be used.

If you want all files created in a directory to belong to a certain group, do this:

  • set this group as the group of the directory (chgrp sas /path/directory)
  • do chmod g+s /path/directory (may need superuser)

 

View solution in original post

1 REPLY 1
Kurt_Bremser
Super User

SAS will use the primary group of a user when creating files. If group "sas" is not returned as the primary group when the LDAP source delivers user metadata, but instead gives you "domain users" as the primary group, then this will be used.

If you want all files created in a directory to belong to a certain group, do this:

  • set this group as the group of the directory (chgrp sas /path/directory)
  • do chmod g+s /path/directory (may need superuser)

 

suga badge.PNGThe SAS Users Group for Administrators (SUGA) is open to all SAS administrators and architects who install, update, manage or maintain a SAS deployment. 

Join SUGA 

Get Started with SAS Information Catalog in SAS Viya

SAS technical trainer Erin Winters shows you how to explore assets, create new data discovery agents, schedule data discovery agents, and much more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 697 views
  • 0 likes
  • 2 in conversation