1830340 Members
2256 Online
110001 Solutions
New Discussion

NFS Perms

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

NFS Perms

Ok I have linux rh9 handing out a file via nfs.
on the linux box my exports file looks like:
/archive mailtest (rw,sync,all_squash,anonuid=0)

I ran exportfs -av, however It mounts ok but when I try to write to it I get a message that it is 'Read Only filesystem. I am lost here.
UNIX IS GOOD
2 REPLIES 2
Alexander Chuzhoy
Honored Contributor
Solution

Re: NFS Perms

see that there's no space between mailtest
and (rw,no_root_squash)


anyway

/archive mailtest(rw,no_root_squash)



will sure let you write there...
Jan Sladky
Trusted Contributor

Re: NFS Perms

hi,

check the permissions of /archive and mount point on the mailtest for the user who wants to write - they should set on rw for user or group where user belongs to.

You can change permissions even after mount because uid gid will be propagated from mount point to exported dir:

on mailtest
chmod 775 whereisitmounted

or if user doesn't belong group

chmod 777 whereisitmounted

post the result br Jan
GSM, Intelligent Networks, UNIX