1753807 Members
7220 Online
108805 Solutions
New Discussion юеВ

Re: umask 077

 
???_185
Regular Advisor

umask 077

my system's umask 077. other systems's umask 022.I try to chage 077 -> 022
cause install oracle monitoring tool.
umask 077 system's ipcs table like this
T ID KEY MODE OWNER GROUP SEGSZ
Shared Memory:
m 0 0x41182a94 --rw-rw-rw- root root 348
m 1 0x4e0c0002 --rw-rw-rw- root root 61760
m 2 0x411c1239 --rw-rw-rw- root root 8192
m 262147 0x0c6629c9 --rw-r----- root root 23744744
m 4 0x06347849 --rw-rw-rw- root root 65626
m 32773 0x49100030 --rw-r--r-- root root 22908
m 11272198 0x209a180c --rw------- oracle dba 3762294784

umask 022 system's ipcs table is like this
IPC status from /dev/kmem as of Fri Nov 25 14:44:33 2005
T ID KEY MODE OWNER GROUP SEGSZ
Shared Memory:
m 0 0x410c1801 --rw-rw-rw- root root 348
m 1 0x4e0c0002 --rw-rw-rw- root root 61760
m 2 0x410c1a52 --rw-rw-rw- root root 8192
m 425987 0x0c6629c9 --rw-r----- root root 17904720
m 4 0x06347849 --rw-rw-rw- root root 77384
m 32773 0xffffffff --rw-r--r-- root root 22908
m 1671174 0x00000000 --rw-r----- oracle dba 1073741824 <- rw-r
m 229383 0xf5d44610 --rw-r----- oracle dba 38248448
m 8 0x500c6885 --r--r--r-- bin bin 881669
m 2228233 0x00000000 D-rw------- root sys 512000
m 65546 0x00000000 D-rw------- root sys 237912

you can see the oracle different user's permission.
is it OK it is cchanged to tusted mode system's umask into another umask-o22,027?


I check
2 REPLIES 2
RAC_1
Honored Contributor

Re: umask 077

umask setting has nothing to do with ipcs and oracle ipcs. umask controls the perms of the files/dirs -of new files being created.

man umask for details.

Also umask setting has nothing to do with the fact that "if system is in trusted mode or not"
There is no substitute to HARDWORK
Christine Hartman
Valued Contributor

Re: umask 077

you can setup umask settings in the /etc/profile
you can also setup root's umask in it's own .profile (either in / or in /root)

If oracle needs it's own special umask setting to do stuff...it can modify it's own .profile and set it's own umask setting.