Operating System - HP-UX
1832953 Members
2588 Online
110048 Solutions
New Discussion

Another NFS permissions error

 
SOLVED
Go to solution
MikeL_4
Super Advisor

Another NFS permissions error

I have a newly created file system on NFS server with following in /etc/exports:
=>cat /etc/exports
/rtam1_autocn03 -access=cnprtam1-p

an ls of the file system is:
drwxr-xr-x 3 root root 96 May 19 16:55 rtam1_autocn03

The file system mounts just fine on the client server:
cnpdbsv2-p:/rtam1_autocn03 20.0g 16 19.8g 0% /autocn03
an ls of the file system is:
drwxr-xr-x 3 root root 96 May 19 16:55 autocn03

But when I try to create directories or files as root, I receive permission denied on the client server:
root@cnprtam1:[/root]: =>cd /autocn03
root@cnprtam1:[/autocn03]: =>ls -al
total 4
drwxr-xr-x 3 root root 96 May 19 16:55 .
drwxr-xr-x 51 root root 2048 May 19 16:51 ..
drwxr-xr-x 2 root root 96 May 19 15:04 lost+found
root@cnprtam1:[/autocn03]: =>mkdir ./prodemh
mkdir: cannot access .: Permission denied
root@cnprtam1:[/autocn03]: =>


2 REPLIES 2
Patrick Wallek
Honored Contributor
Solution

Re: Another NFS permissions error

root does not have access to NFS shares by default. Try this in your exports file:

/rtam1_autocn03 -root=cnprtam1-p
avizen9
Esteemed Contributor

Re: Another NFS permissions error

Hello Mike,

go through below docs which will show your more details for exports in hpux, thanks,

http://docs.hp.com/en/B9106-90011/exports.4.html