I have RHEL box and recently created a custom file in /etc/profile.d to set umask as 0002 for a specific user. When logged in with that specific user, umask has reflected correctly as expected.
However when created a SAS Data set using SAS Programming Runtime Environment(SPRE) in Viya while logged in as that specific user, the permission being reflected are 0022.
Any one help me understand what could have happened to override the initial set umask 0002 to 0022 ?
Thanks in advance.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
You might have to change the umask in a couple more files as well. For example, the default bash umask for the non-login shell might be different.
Open the following file:
vim /etc/bashrc
And search for umask, it should be defined in two places. Adjust the value accordingly.
You can do the same with the /etc/profile file too.
Hope that this helps. Best, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.