This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: awk permissions related problem - manual-entry --> awk: permission denied


Chuck.Irvine@mail.sprint.com wrote:
> 
> I recently (a week or two ago) downloaded a newer verion of cygwin and
> now I'm unable to use the ntemacs command "manual-entry" (used to
> display man pages). When I invoke this command, emacs complains "awk:
> permission denied; process exited abnormally with code 126". I checked
> permissions on /bin/awk, which is a symbolic link to /bin/gawk, and
> they are lrw-r--r--. Permissions on gawk are -rwxr-xr-x. I tried
> setting CYGWIN to ntsec and adding execute permission to awk, but this
> didn't solve my problem.
> 
> Any help is greatly appreciated.
> 

What happens if you
  cd /bin
  rm awk
  ln -s gawk.exe awk.exe
?

Why not just change the script to #!/bin/gawk ?

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]