|
 |
|
Oracle umask tips
Oracle Tips by Burleson |
Change default file
permissions with umask
As we noted in Chapter 1, the umask and chmod commands are often
used by the Oracle DBA to allow other UNIX users the ability to read
and execute Oracle files.
For example, if we want to create a file with read-write permission
for the Oracle user and ready-only permissions for everybody else,
we can set the umask to 022:
root> umask 022
root> umask
022
root> touch dumpfile.trc
root> ls -al dumpfile.trc
-rw-r--r-- 1 oracle dba 0 Aug 13 09:36 dumpfile.trc
Download your Oracle scripts now:
www.oracle-script.com
The
definitive Oracle Script collection for every Oracle professional DBA
|
|