• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 548
  • Last Modified:

umask is not functioning

I tried to change the umask to 022 (now it is 027) and it is not functioning.
Every time I get back to the server and I typed umask, it shows me the 027.

I followed this steps as the oracle user:

shutdown the orale listener.
umask 022
start the oracle listener.

0
LindaC
Asked:
LindaC
  • 4
  • 2
2 Solutions
 
woolmilkporcCommented:
Hi,
you must add the 'umask' statement to your user's profile, since the umask setting doesn't survive the shell in which it was modified, but will fall back to a default.
This default is usually 022. If your standard umask is 027, it gets probably set in a central profile, usually /etc/profile.
Look there whether you can find it.

wmp

0
 
TintinCommented:
As the oracle user, do

vi $HOME/.profile

and add

umask 022
0
 
LindaCAuthor Commented:
That is not functioning.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LindaCAuthor Commented:
Thank you.
0
 
TintinCommented:
What's not functioning?

What shell does oracle have?

Depending on the shell, it may need to go into .bash_profile or similar.
0
 
LindaCAuthor Commented:
echo $SHELL
/bin/ksh
0
 
LindaCAuthor Commented:
Oracle client umask is working - evidence with touch test and the privilege was 644.

Another client in the Os was not working but the user is not part of the dba group.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now