How to fix the file permissions?

Hi all

EBS R12.1.3

RHEL5 & 6

I met a weird/events behavior to our backup files.

I am cloning our R12.1.3 OEL5.3 to a new server with RHEL6.5

I run preclone then I did a cold backup of the entire folder for applications and database levels which are as follows:

/ U01/applmgr/prod (whole level apps)

/ U01/Oracle/prod (db level)

I stop applications to databases. I have compressed backup files using:

Tar - zcvf applmgr.tar.gz/u01/applmgr/PROD

Tar - zcvf oracler.tar.gz/u01/oracle/PROD


Then I copy on another new server for CLONING.

Then I run the corresponding command to unpack the tar.

To my surprise, all folders and files under it have all rwxrwxrwx

The following data folder are an example:

[root@erp2 apps_st] # cd data.

[data root@erp2] # ls - lrt

Total 85983508

drwxrwxrwx. 2 oracle dba 4096 12 February 2012 Archives

-rwxrwxrwx. 1 oracle dba 1073750016 Dec 8 04:03 temp02.dbf

-rwxrwxrwx. 1 oracle dba 1153441792 Dec 8 04:14 temp01.dbf

-rwxrwxrwx. 1 oracle dba 1048576512 Dec 8 05:43 log02b.dbf

-rwxrwxrwx. 1 oracle dba 1048576512 Dec 8 05:43 log02a.dbf

-rwxrwxrwx. 1 oracle dba 2411732992 8 Dec 10:14 undo01.dbf

-rwxrwxrwx. 1 oracle dba 1603280896 8 Dec 10:14 system12.dbf

-rwxrwxrwx. 1 oracle dba 1048584192 8 Dec 10:14 system11.dbf

-rwxrwxrwx. 1 oracle dba 1048584192 8 Dec 10:14 system10.dbf

-rwxrwxrwx. 1 oracle dba 1073750016 8 Dec 10:14 system09.dbf

-rwxrwxrwx. 1 oracle dba 1887444992 8 Dec 10:14 system08.dbf

-rwxrwxrwx. 1 oracle dba 1048584192 8 Dec 10:14 system07.dbf

-rwxrwxrwx. 1 oracle dba 1048584192 8 Dec 10:14 system06.dbf

-rwxrwxrwx. 1 oracle dba 1048584192 8 Dec 10:14 system05.dbf

-rwxrwxrwx. 1 oracle dba 1048584192 8 Dec 10:14 system04.dbf

-rwxrwxrwx. 1 oracle dba 1048584192 8 Dec 10:14 system03.dbf

-rwxrwxrwx. 1 oracle dba 1048584192 8 Dec 10:14 system02.dbf

-rwxrwxrwx. 1 oracle dba 1887444992 8 Dec 10:14 system01.dbf

-rwxrwxrwx. 1 oracle dba 2044731392 8 Dec 10:14 sysaux03.dbf

-rwxrwxrwx. 1 oracle dba 1048584192 8 Dec 10:14 sysaux02.dbf

-rwxrwxrwx. 1 oracle dba 1048584192 8 Dec 10:14 sysaux01.dbf

-rwxrwxrwx. 1 oracle dba 104865792 8 Dec 10:14 portal01.dbf

I know this isn't permission to the source database

How is this happened? This copy is corrupted? How can I fix the permissions?

I've done several times of tar backups, and previous jobs were correct.

Help, please...

Thank you very much

JC

Using of ' tar - zcvf "must retain permission.

What command did you use to extract the files?

You can view the contents of the gz files to check authorization in these two files? Question simply "less .gz '.

Thank you

Hussein

Tags: Oracle Applications

Similar Questions

Maybe you are looking for