[Clug-tech] Serve HTTP files from server via NFS over NFS
John Jardine
john_e_jardine at spamcop.net
Thu Jul 29 07:20:12 PDT 2010
Don't know if this will help or not but I setup my DNS323's for NFS and
needed to map permissions to make it work nicely.
I have windows & linux clients accessing shared folders. I did not
institute per-user security because I'm the only user.
Full write up of what I did here:
http://www.herd-of-neurons.com/DLINK_DNS-323_NFS.html
The part that you may need is the squash id command (on the DNS323):
/mnt/HD_a2/Common 192.168.1.0/24(rw,all_squash,anonuid=501,anongid=501)
Cheers,
J.J.
On Thu, 2010-07-29 at 04:58 -0600, Gustin Johnson wrote:
> <snip>
> >
> > I've put in place a work-around of just referencing the data on the NAS
> > directly as a read-only share, but that's less than optimal for my
> > desired scenario.
> >
> I ditched NFS a long time ago so I am probably not going to be of much
> more help. For a similar situation I used samba mount instead. A
> friend of mine is using sshfs to solve the same problem.
>
> Out of curiosity, do the UIDs and GIDs look even remotely similar
> across all three machines? IIRC, NFS uses the numeric UIDs and GIDs
> instead of the name. So you may have user bob on all three machines,
> but if the UID is different then you are going to run into problems.
> On my DNS-323 the UIDs are very different from my other systems.
>
> ls -nl
> will give you the numeric UIDs and GIDs
>
> _______________________________________________
> clug-tech mailing list
> clug-tech at clug.ca
> http://clug.ca/mailman/listinfo/clug-tech_clug.ca
More information about the clug-tech
mailing list