RE: Permission Issue

  • From: "Bobak, Mark" <Mark.Bobak@xxxxxxxxxxxx>
  • To: Nagaraj S <nagaraj.chk@xxxxxxxxx>
  • Date: Tue, 3 Mar 2009 09:24:25 -0500

Hmm...so the 'libagtsh.so' isn't a dynamic dependency for chmod?

Ok, try this:
strace chmod -R 755 oracle


Warning, that command could spew quite a bit of output.  You may want to 
redirect stderr to a file.

-Mark

From: Nagaraj S [mailto:nagaraj.chk@xxxxxxxxx]
Sent: Tuesday, March 03, 2009 9:19 AM
To: Bobak, Mark
Cc: oracle-l
Subject: Re: Permission Issue

bash[]> which chmod
/bin/chmod
bash[]> ldd `which chmod`
        libc.so.6 => /lib64/tls/libc.so.6 (0x000000311e000000)
        /lib64/ld-linux-x86-64.so.2 (0x000000311de00000)

On Tue, Mar 3, 2009 at 7:43 PM, Bobak, Mark 
<Mark.Bobak@xxxxxxxxxxxx<mailto:Mark.Bobak@xxxxxxxxxxxx>> wrote:

Naga,



What output do you get from the following commands:

which chmod

ldd `which chmod`



??



-Mark



From: oracle-l-bounce@xxxxxxxxxxxxx<mailto:oracle-l-bounce@xxxxxxxxxxxxx> 
[mailto:oracle-l-bounce@xxxxxxxxxxxxx<mailto:oracle-l-bounce@xxxxxxxxxxxxx>] On 
Behalf Of Nagaraj S
Sent: Tuesday, March 03, 2009 8:23 AM
To: oracle-l
Subject: Permission Issue



Hi Gurus,



I get below error while trying to change the permission of oracle directory. 
Kindly advice were could be the problem



Bash[]$ id
uid=200(oracle) gid=200(dba) groups=200(dba),201(oinstall) 
context=user_u:system_r:unconfined_t

Bash[]$ cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 7)



Bash[]> chmod -R 755 oracle
chmod: libagtsh.so: not found [No such file or directory]



Regards,

Naga

Other related posts: