I've installed freeipa container on a Ubuntu server and an NFS server on the server itself. When I mount the NFS directory on a client machine or even the server itself, I can view the mounted directory as root. However, as a regular user, I get stale file handle. I am not using SELinux, and it happens with autofs as well.
My /etc/exports:
/home @netibglabservers(rw,sync,no_subtree_check,sec=krb5:krb5i:krb5p)
My mount command:
sudo mount golgi.******.ac.il:/home /mnt/test
As a regular user:
ls /mnt/test/<br/>
ls: cannot open directory '/mnt/test/': Stale file handle
As root:
sudo ls /mnt/test<br/>
ibg ibglocal localadmin yuval yuvallocal
Credentials:
klist<br/>
Ticket cache: KEYRING:persistent:96600001:krb_ccache_aGcxW72<br/>
Default principal: yuval@******.AC.IL<br/>
<br/>
Valid starting Expires Service principal<br/>
12/27/2021 16:38:59 12/28/2021 16:38:56 nfs/golgi.******.ac.il@******.AC.IL<br/>
12/27/2021 16:38:56 12/28/2021 16:38:56 krbtgt/******.AC.IL@******.AC.IL<br/>
<br/>
Any help would be greatly appreciated,
Yuval.
0 Answers