Re: Permission Issue

  • From: Nagaraj S <nagaraj.chk@xxxxxxxxx>
  • To: Stefan Knecht <knecht.stefan@xxxxxxxxx>
  • Date: Tue, 3 Mar 2009 20:27:07 +0530

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@xxxxxxxxx>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@xxxxxxxx
>
> 10046 Consulting GmbH
> Schwarzackerstrasse 29
> CH-8304 Wallisellen
> Switzerland
>
> Phone +41-(0)8400-10046
> Cell +41 (0) 79 571 36 27
> info@xxxxxxxx
> http://www.10046.ch
>
> =========================
>
>
>  On Tue, Mar 3, 2009 at 3:36 PM, Nagaraj S <nagaraj.chk@xxxxxxxxx> 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@xxxxxxxxxxxx>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@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>
>>> 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] *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: