BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I have noticed that when I create code or data in EG the default permissions are for owner and group to have read and write access. Our default on the UNIX server is RW-R-R. How can I change the default to allow only read access to group members using EG?
1 REPLY 1
deleted_user
Not applicable
sounds like a code node is required.
The following is based on the techniques we used in SAS6, so it probably still works.
To get the op.sys to mark the file permissions, the code node would capture the latest dataset from &syslast, then determine the physical name and path,
then pipe to a datastep infile, the effect of command:

chmod +{whatever} your.latest.dataset.sas7bdat


In SAS8 and SAS9, perhaps the chmod command can be executed through some other command handler like %sysexec.

Good Luck
Peter

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1026 views
  • 0 likes
  • 1 in conversation