Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've tried to install NFS but I cannot pass through this step where I configure /etc/exports

The file looks as follows:

/home/MYUSER/Documents, sync, no_subtree_check)

But when I restart the nfs-kernel-server or run exportfs -ra the following appears:

* Stopping NFS kernel daemon                                            [ OK ] 
* Unexporting directories for NFS kernel daemon...                      [ OK ] 
* Exporting directories for NFS kernel daemon...                               exportfs: /etc/exports:1: syntax error: bad option list
share|improve this question
up vote 3 down vote accepted

Your exports syntax is incorrect – you cannot have any spaces in the option list. Try:

share|improve this answer
I almost cry, thanks a lot, I've been trying this for several hours :') – poz2k4444 Oct 11 '12 at 17:54
Thanks. I wasted my time for this. I think this is a stupid restriction. Almost all languages, scripts ignore whitespaces... – Sin Jeong-hun Jun 17 '14 at 5:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.