I'm struggling to create an automounted share in user's home.
On the nfsv4-server 1.2.3.4 there are
On the client should this appear like this:
/home/user1/share/
/home/user2/share/
But what I could achieve so far is
/home/user1/share/share/ where share/share is not the wanted result.
where ownership of the existing /home/user1/share was changed from user1:user1 to root:wheel as an empty directory.
Using this configuration so far
/etc/automaster
and
/etc/auto.share
Do I want what cannot be done or do I miss something?
On the nfsv4-server 1.2.3.4 there are
Code:
# ll /NFS/share/
total 2
-rw-r--r-- 1 root wheel 14B 171003_2229 file1
-rw-r--r-- 1 user1 wheel 14B 171003_2229 file2
-rw-r--r-- 1 user2 wheel 14B 171003_2230 file3
On the client should this appear like this:
/home/user1/share/
/home/user2/share/
But what I could achieve so far is
/home/user1/share/share/ where share/share is not the wanted result.
where ownership of the existing /home/user1/share was changed from user1:user1 to root:wheel as an empty directory.
Using this configuration so far
/etc/automaster
Code:
/home/user1/share /etc/auto.share
/home/user2/share /etc/auto.share
/etc/auto.share
Code:
# key [-options] [mountpoint] [-options]] location [...]
share -intr,nfsv4 1.2.3.4:/NFS/share
Do I want what cannot be done or do I miss something?
Last edited: