NFS Access setup

I have three Linux boxes - l1, l2 and l3.
l1 is making three directories available using this exports file:

I can open and write to nfs mounted directories when logged into l2 with this fstab file:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup_ID_14268/LogVol1 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/VolGroup_ID_14268/LogVol2 /tmp                    ext3    defaults        1 2
/dev/VolGroup_ID_14268/LogVol5 /usr                    ext3    defaults        1 2
/dev/VolGroup_ID_14268/LogVol4 /var                    ext3    defaults        1 2
/dev/VolGroup_ID_14268/LogVol0 swap                    swap    defaults        0 0
/dev/VolGroup_ID_14268/LogVolHome /home                ext3    defaults        1 2
# LABEL=/home-7612             /home                   ext3    defaults        1 2
sierra:/z1      /sierra/z1      nfs      bg,soft,intr      0      0
sierra:/z2      /sierra/z2      nfs      bg,soft,intr      0      0
sierra:/z3      /sierra/z3      nfs      bg,soft,intr      0      0
/dev/hda                /media/cdrom            auto    pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

The problem is when I copied the fstab part from l2 that starts with sierra and pasted it into fstab of l3 and mounted them from l1 to l3, I can open the files but can not write to them when logged into l3.

what should be looking into to fix?

thanks in advance.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Artysystem administratorCommented:
run 'id' command on l3 (from that user, who is not able to write files on nfs share):
and post output here
what are the IP addresses of the machines?

What is the error message?

when it fails, report the IDS (as above) and paste the outputof
touch foo
Also do:
ls -ld .
wherever we're trying to write.

mehranalmasiAuthor Commented:
uid=605(username) gid=602(ae) groups=602(ae) context=user_u:system_r:unconfined_t

ip address of l3 is

touch foo
touch: cannot touch 'foo': permission denied

ls -ld
drwxr-xr-x 50 702 700 4096 mar 27 17:22
mehranalmasiAuthor Commented:
I found the problem. The user did not belong to the write group. here is the configuration and you will get the points if you explain to me the mechanics of this setup in L2 and L3:

group in /etc

passwd in /etc

ls -l when in sierra:
drwxrwxr-x 11  av  av  4096 Mar 30 16:36 z1
same thing for z2 and z3


Artysystem administratorCommented:
Try to append user1 who cannot write to /etc/group on L1 (where share is located):

this appends that user to additional group (which is checked when accessing local to L1 files).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.