Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: safe to delete 'old' archive logs?
Howard J. Rogers wrote:
> Paul Drake wrote:
>
>> "Tom" <tomNOSPAM_at_teameazyriders.com> wrote in message >> news:<1084787189.18929.0_at_lotis.uk.clara.net>... >> >>> Oracle 9.2.0.4 >>> Linux AS >>> >>> Hi, >>>
>> >> 1. oinstall is for installing software. reset the default group of the >> oracle account to dba so that such files are created under the >> ownership of the dba group. change the ownership of the existing >> files.
Or just go into /etc/group (or NIS, or whatever you use) and change the symbolic name for the group from 'oinstall' to 'dba', or vice versa. Under Unix (all flavors since the epoch, AFAIK) the group is "defined" (stored in the filesystem) by the number (GID = group ID), not the name. The name is just a lookup. There is an option to the "ls" command (and many others as well) to use GID's instead of names.
If you support multiple Unix boxes of any flavor, it is convenient to have your 'oracle' UID, and also the GID of the group with SYSDBA privilege, have consistent numeric values across all boxes, for example 'oracle' UID=102 (in /etc/passwd) and 'dba' GID=103 (in /etc/group).
At least then, the extracted contents of a "tar" file will show the same ownerships when copied across systems and you won't have to mess with 'chown'.
--Mark Bole Received on Mon May 17 2004 - 20:35:20 CDT