home *** CD-ROM | disk | FTP | other *** search
- # Simple test config for nfsd
- # Should show the basic ideas
-
- # Format is:
- # Local Amiga path, symbol to export as, IP definition to export to
- # possibly with RW to allow read/write access
- #
- # IP definition:
- # address/mask. The mask may be omitted to imply 255.255.255.255.
- # Use '-' to imply any IP address.
- #
- # UID=x GID=x and PERM=xxx define attributes that will be faked for the
- # mountpoint itself (useful, as the root directory of a disk cannot have
- # these properties).
- # FORCEALL causes these attributes to also be applied to everything below
- # the mountpoint as well.
-
- # Anybody on my local network can mount RAM: as /tmp. Every file
- # will be owned by root, readable, and executable.
- Ram: /tmp 192.168.1.0/255.255.255.0 UID=0 GID=0 PERM=555 FORCEALL
-
- # The machine 192.168.1.5 can mount Fish:mount, and write to it. The directory
- # itself will appear to be owned by 1000:100, but files within will have
- # their correct permissions.
- Fish:mount /fishrw 192.168.1.5 RW UID=1000 GID=100
-
- # Anybody can access Fish:public as /pub. Every file
- # will be owned by root, readable, and executable.
- Fish:public /pub - UID=0 GID=0 PERM=555 FORCEALL
-
- # Anybody in the class C network 172.16.1.0 may mount and write to
- # these directories. The mountpoint will appear to be owned by 0:100,
- # and will have permissions forced upon it.
- audio: /mp3 172.16.1.0/255.255.255.0 RW UID=0 GID=100 PERM=770
- archive: /archive 172.16.1.0/255.255.255.0 RW UID=0 GID=100 PERM=770
-
- # That is all.
-
-