Skip to content

Instantly share code, notes, and snippets.

@janhalfar
Created December 30, 2011 16:07
Show Gist options
  • Save janhalfar/1540440 to your computer and use it in GitHub Desktop.
Save janhalfar/1540440 to your computer and use it in GitHub Desktop.
Foomo.Sandbox /etc/exports
# the important part here is the mapping of the anonymous user to the foomo user,
# so that there are no nasty rights conflicts, when mounting over nfs
#
# obviously you need to have the right uid and gid for the foomo user
# disclaimer: this is for development purposes only !!!
/var/www *(rw,nohide,insecure,no_subtree_check,async,all_squash,anonuid=1000,anongid=1000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment