Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: shell script needed

RE: shell script needed

From: Mercadante, Thomas F (LABOR) <Thomas.Mercadante_at_labor.state.ny.us>
Date: Wed, 31 Oct 2007 09:48:12 -0400
Message-ID: <ABB9D76E187C5146AB5683F5A07336FF017BF02C@EXCNYSM0A1AJ.nysemail.nyenet>


Andrew,  

You can do this recursively by using the -R option:  

chmod -R g-w $ORACLE_HOME  

Tom


From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Andrew Kerber Sent: Wednesday, October 31, 2007 9:41 AM To: oracle-l
Subject: shell script needed

I am looking for a unix shell script I can use that will generate another script that will set the protections on the files in my oracle home directory. I want all the protections on all the files of a specific oracle version to be the same, and the best way to do that would seem to be to just generate the the commands by looking at the protections on one oracle home and generating the commands to reproduce that in other oracle homes.

I know the priviliges we use are not the standard that oracle sets it on installation because I had to change some files to get BMC Patrol to work properly, and of course I did not think to write down every change I made to get it to work.

Does anyone have a shell script to do this?

-- 
Andrew W. Kerber

'If at first you dont succeed, dont take up skydiving.' 


--
http://www.freelists.org/webpage/oracle-l
Received on Wed Oct 31 2007 - 08:48:12 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US