Re: Permission Issue

From: Nagaraj S <nagaraj.chk_at_gmail.com>
Date: Tue, 3 Mar 2009 20:27:07 +0530
Message-ID: <e921f8570903030657q47ec05a0na496985733d39211_at_mail.gmail.com>



Hi Stefan,

ls -R oracle diplays list of files under respective directories

I think it is enabled

bash[]> cat /etc/selinux/config|grep -v "#" SELINUX=permissive
SELINUXTYPE=targeted

On Tue, Mar 3, 2009 at 8:15 PM, Stefan Knecht <knecht.stefan_at_gmail.com>wrote:

> What happens if you do ls -R oracle (from within the same shell you
> executed the chmod that failed).
>
> Do you have SELinux enabled ?
>
> Stefan
>
>
> =========================
>
> Stefan P Knecht
> CEO & Founder
> s_at_10046.ch
>
> 10046 Consulting GmbH
> Schwarzackerstrasse 29
> CH-8304 Wallisellen
> Switzerland
>
> Phone +41-(0)8400-10046
> Cell +41 (0) 79 571 36 27
> info_at_10046.ch
> http://www.10046.ch
>
> =========================
>
>
> On Tue, Mar 3, 2009 at 3:36 PM, Nagaraj S <nagaraj.chk_at_gmail.com> wrote:
>
>> Hi Mark,
>> I got strace cannot be found. In linux it will be on which path.
>>
>> -ksh: strace: not found [No such file or directory]
>>
>>
>> - Show quoted text -
>> On Tue, Mar 3, 2009 at 7:54 PM, Bobak, Mark <Mark.Bobak_at_proquest.com>wrote:
>>
>>> 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_at_gmail.com]
>>> *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_at_proquest.com>
>>> wrote:
>>>
>>> Naga,
>>>
>>>
>>>
>>> What output do you get from the following commands:
>>>
>>> which chmod
>>>
>>> ldd `which chmod`
>>>
>>>
>>>
>>> ??
>>>
>>>
>>>
>>> -Mark
>>>
>>>
>>>
>>> *From:* oracle-l-bounce_at_freelists.org [mailto:
>>> oracle-l-bounce_at_freelists.org] *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
>>>
>>>
>>>
>>
>>
>

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Mar 03 2009 - 08:57:07 CST

Original text of this message