- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: execute permission denied
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 11:40 AM
тАО10-29-2001 11:40 AM
I've installed several opensource packages that I got from the developer technical resources. Nothing special.
However, when I try to execute say, vim. I get
sh: vim: Execute permission denied.
Now, I'm root and the execute permissions seem fine. Is there something special about sh-posix? No acl stuff is active so I'm confused.
This also happens for other apps that are under /usr/local/bin. Not all, just most.
everything seems to be owned by user bin group bin. If I change it to root:sys, the problem is the same. permissions are 755 or 555 for the various files.
I downloaded all the files and then installed them in a depot using
for i in *.depot
> do
> swcopy -s ${PWD}/$i \* @ /tmp/patch_depot
> done
this seemed fine and swinstall had no problems with it.
Just for fun I rebooted the box as well.
Any ideas?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 11:43 AM
тАО10-29-2001 11:43 AM
Re: execute permission denied
file
e.g. file /usr/local/bin/vim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 11:46 AM
тАО10-29-2001 11:46 AM
Re: execute permission denied
Just for fun, do a 'file /usr/local/bin/vim' and post the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 11:46 AM
тАО10-29-2001 11:46 AM
Solution-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 11:46 AM
тАО10-29-2001 11:46 AM
Re: execute permission denied
vim: ELF-32 executable object file.
This is a j6000 with 11i. Only 64 bit apps?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2001 12:09 PM
тАО10-29-2001 12:09 PM
Re: execute permission denied
I had inadvertently grabbed the 11.20 binaries instead of the 11.11 ones.
Now, the full solution is to grab that scroll bar at the bottom of the swinstall gui. Pull left and examine the versions of the apps. It was painfully obvious.
There's probably a commandline to show the package version for binary X as well.
Thanks guys. Yay. I have to refetch these suckers.