有关oracle archive log 权限的问题
oracle 8174 , solairs os:为什么, oracle 产生的archive log权限为0640,
。。。。
-rw-r----- 1 oracle dba 701 Mar 11 04:40 orcl_ora_9571.trc
-rw-r----- 1 oracle dba 756 Jun 16 2006 orcl_ora_958.trc
-rw-r----- 1 oracle dba 756 Jun 16 2006 orcl_ora_960.trc
-rw-r----- 1 oracle dba 741303 Oct 29 2006 orcl_ora_9638.trc
-rw-r----- 1 oracle dba 1487 Aug 29 2005 orcl_ora_9670.trc
-rw-r----- 1 oracle dba 968890 Apr 13 2006 orcl_ora_9678.trc
-rw-r----- 1 oracle dba 756 Jun 16 2006 orcl_ora_968.trc
-rw-r----- 1 oracle dba 1482 Aug 29 2005 orcl_ora_97.trc
-rw-r----- 1 oracle dba 755 Jun 16 2006 orcl_ora_970.trc
。。。。
而设定umask = 022 。 oracle 产生的文件的权限不应该是0644吗?
而我通过,
SQL> host echo "" > test.log
。。。。
drwxr-xr-x 11 oracle dba 512 Feb 9 2006 sysman
-rw-r--r-- 1 oracle dba 1 May 15 15:32 test.log
-rw-r--r-- 1 oracle dba 309 Aug 9 2005 wmsql.sql
。。。。
产生的文件权限为 0644。这又符合了我的观点. oracle的trace文件缺省都是umask=026的,不受.profile里面设置的umask影响,因为Trace文件里面可能会包含内存的dump。
如果需要修改为所有人可以read,可以修改这个参数
_trace_files_public = true
页:
[1]