Operating System - HP-UX
1832504 Members
4672 Online
110043 Solutions
New Discussion

NFS mounted /cdrom gets permission denied when trying to execute install script

 
SOLVED
Go to solution
EJ Stremler
Frequent Advisor

NFS mounted /cdrom gets permission denied when trying to execute install script

I needed to nfs mount a cdrom drive from another system to install some Netbackup software, that is because the destination does not have a cdrom drive.. I am root, and get
oa1401:/cdrom >./install
sh: ./install: Execute permission denied.
oa1401:/cdrom >
On the source system, i am able to execute the script fine.. Is it maybe the way i am exporting the /cdrom file system.. I needed to add the line to the /etc/exports file "/cdrom -ro"...any help would be appreciated..thanks ed
3 REPLIES 3
Patrick Wallek
Honored Contributor
Solution

Re: NFS mounted /cdrom gets permission denied when trying to execute install script

By default, root access is not allowed to NFS mounted volumes. You need to add the 'root=host' option to your /etc/exports file, where 'host' is the hostname of the system mounting the CD via NFS.

You'll then need to re-export on the source server. (exportfs command)

Just to be safe, you may need to 'umount' and 'mount' on the NFS client.
EJ Stremler
Frequent Advisor

Re: NFS mounted /cdrom gets permission denied when trying to execute install script

That did the trick, I appreciate all the help...thanks,,ed
EJ Stremler
Frequent Advisor

Re: NFS mounted /cdrom gets permission denied when trying to execute install script

Thanks again...ed