Operating System - HP-UX
1840122 Members
2820 Online
110161 Solutions
New Discussion

sh: unzip: Execute permission denied.

 
M.sureshkumar
Regular Advisor

sh: unzip: Execute permission denied.

Hi All,

I have installed unzip tool(unzip 5.52) on my HP 11.11 unix sever.After i tried to unzip any file, i am getting the following error on my server.
sh: unzip: Execute permission denied.

I already checked the sh and unzip file premissions everything is ok.


How to resolve this one.Pls guide me.

Thanks& Regards,
Suresh.
2 REPLIES 2
Steven Schweda
Honored Contributor

Re: sh: unzip: Execute permission denied.

> [...] HP 11.11 [...]

Generally, an HP-UX question will do better
in an HP-UX forum than in a Tru64 forum.
However:

> sh: unzip: Execute permission denied.

I'd guess that either the permissions are
wrong, or else the executable is of the wrong
type for the system architecture where you're
trying to run it.

> I already checked the sh and unzip file
> premissions everything is ok.

That message ("sh: unzip: [...]") means that
"sh" is complaining about "unzip", so "sh" is
probably pretty safe. It's nice that you
think that "everything is ok." It would be
more persuasive if you showed the "ls -l"
report on your "unzip". It would also be
nice to be sure that the "unzip" which you
are trying to run is the same "unzip" as the
one with the correct permissions. Using an
absolute path would be more persuasive.

> I have installed unzip tool(unzip 5.52) on
> my HP 11.11 unix sever.

How? Where did you get the kit? On which
type of system are you trying to run it?

What does "file" say about your "unzip"
executable? For example:

td176> file ./utility/source/zip/unzip-5.52/unzip
./utility/source/zip/unzip-5.52/unzip: PA-RISC2.0 shared executable dynamically linked

And does what you see look right for your
system?
M.sureshkumar
Regular Advisor

Re: sh: unzip: Execute permission denied.

HI

Thanks for ur quick responce.

Link problem.I given proper link to unzip after that unzip is working fine.

Rgds,
Suresh.