Hi everybody,
I'm attempting to set up two distinct NFS exports on a box running
Debian Testing. Both are to be accessed exclusively by a single host:
# /etc/exports: the access control list for filesystems which may be
exported
# to NFS clients. See exports(5)
/home/poop/Public 192.168.2.1(rw, insecure,
map_static=/etc/nfs/poop.map)
/home/poop 192.168.2.1(rw, insecure,
map_static=/etc/nfs/poop.map)
/var/www 192.168.2.1(rw, insecure,
map_static=/etc/nfs/www.map)
/usr/lib/cgi-bin 192.168.2.1(rw, insecure,
map_static=/etc/nfs/www.map)
Here is my poop.map:
# This file maps remote identifiers to local identifiers.
# remote local
uid 501 1000
gid 501 1000
And my
www.map:
# This file maps remote identifiers to local identifiers.
# remote local
uid 501 33
gid 501 33
Basically, what I'm trying to do is log into my /usr/lib/cgi-bin
directory remotely so that I can easily edit some files I'm working on
(and test them without having to transfer them over and over). As
configured, this works great. However, as configured, I can't write to
my home directory, which is a pain in the ass. Does anyone have any
suggestions?
Thanks,
'cid 'ooh