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

Home -> Community -> Usenet -> c.d.o.server -> Re: SQLplus under cygwin

Re: SQLplus under cygwin

From: Chuck <skilover_nospam_at_bluebottle.com>
Date: Fri, 09 Mar 2007 20:17:03 GMT
Message-ID: <3hjIh.6$mh7.0@trnddc04>


ppapro wrote:
> Hi,
>
> I am trying to run sqlplus under Cywin command line, but yet it gives
> me permission denied each time.
> I also tried a working user password like sqlplus username/password
> and still got permission denied.
> What I should do to make it work?
>
> Please help,
>
> Pawel
>

Sounds like you just need to add the executable bit to sqlplus. I use cygwin and sqlplus frequently but don't recall if I ever had to this.

from the cygwin shell prompt...

cd $ORACLE_HOME/bin
chmod 777 sqlplus.exe

If that works you might consider setting it on all the executables in the directory.

BTW one caveat with sqlplus under cygwin is that because sqlplus.exe is a Windows program, it outputs <cr><lf> as the end of line character. If you try to process any of it's output in cygwin make sure to filter out the <cr>. Received on Fri Mar 09 2007 - 14:17:03 CST

Original text of this message

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