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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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
  • 1098 views
  • 0 likes
  • 1 in conversation