[Clug-tech] Serve HTTP files from server via NFS over NFS
Mailing Lists
lists at vlietwerkz.ca
Thu Jul 29 10:58:53 PDT 2010
On 2010/07/29 8:20 AM, John Jardine wrote:
> 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.
I'm going to need some sort of centralized multi-user security for sure.
>
> Full write up of what I did here:
> http://www.herd-of-neurons.com/DLINK_DNS-323_NFS.html
Thanks John. I'll have to take a look at your article.
>
> 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)
There's no ability for me to do commandline changes on this 328 - it's
still stock and has not been rooted. No matter - I think for my
purposes, I'll do what I said in my previous message; Use the NAS as a
dumb data server, and put samba /NFS directly on there. We'll see - not
a show stopper since i put in the workaround of a read-only share
accessing the data directly from the web server.
>
> 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
>
>
>
> _______________________________________________
> 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